Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Delays (Read 20385 times)
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Delays
Reply #12 - Oct 11th, 2016 at 6:30am
Print Post  
Win knows when files are open - but more research needs to be done on how(if) Windows actually locks files - the word processors seem to use a 'flag' file. (Which makes for interesting issues if you don't close the file on a flashdrive before transferring the flashdrive to another computer.  Embarrassed )
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Red Barchetta
New Member
*
Offline



Posts: 46
Location: Miami, FL. USA
Joined: Oct 4th, 2014
Gender: Male
Re: Delays
Reply #11 - Oct 11th, 2016 at 2:52am
Print Post  
oops, meant 2012, not 2015.
  

Florida Classics and Muscle Car Automotive Forum Administrator
Back to top
WWW  
IP Logged
 
Red Barchetta
New Member
*
Offline



Posts: 46
Location: Miami, FL. USA
Joined: Oct 4th, 2014
Gender: Male
Re: Delays
Reply #10 - Oct 11th, 2016 at 1:48am
Print Post  
I know that with Win server 2003, 2008, 2015 when using word processing programs (WordPerfect, Word) We get file lock notifications (File in use/File can be opened but must be saved under a different name) as they see the file is open elsewhere. In the Windows 2015 control panel there is a section that allows you to see the open files. So I know there is something built into Win Server that indicates an open file. Not sure if the OS locks it or if its built into the other programs to see the open file and operate as it is "Locked"?
  

Florida Classics and Muscle Car Automotive Forum Administrator
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Delays
Reply #9 - Oct 10th, 2016 at 9:19pm
Print Post  
Red Barchetta wrote on Oct 10th, 2016 at 7:36pm:
I think I was told a long time ago that the WIN file locking did not actually work.


From the literature it seems that Windows takes file-locking 'under advisement' rather than just doing what it's told. But I've also noticed that for a lot of programs, file locking involves writing a 'hidden' file to the HD to to identify files locked for editing. Probably not a good solution on a server.  Huh
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Red Barchetta
New Member
*
Offline



Posts: 46
Location: Miami, FL. USA
Joined: Oct 4th, 2014
Gender: Male
Re: Delays
Reply #8 - Oct 10th, 2016 at 7:36pm
Print Post  
Better now, for some reason it was set to 60%. I think I was told a long time ago that the WIN file locking did not actually work.
  

Florida Classics and Muscle Car Automotive Forum Administrator
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Delays
Reply #7 - Oct 9th, 2016 at 9:06pm
Print Post  
You can adjust your personal text size in Edit Profiles -> Options.

The fopen and fclose were designed way back when to handle file locking issues when programming for both *nix and Win file systems.  And then things like counting how files were opened and closed for debuging got tucked into those functions.

The normal perl way is: open the file using perl's 'open', lock the file using one of the locking protocols (which should lock the file against being worked on by another process while being written to) and then close the file (which should automatically release the lock.) 

The problem for YaBB was (and probably still is) that *nix and Windows use(d) different methods for locking files. 

This is one of the reasons we keep looking at moving data storage to database - the locking mechanisms are supposed to be better.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Red Barchetta
New Member
*
Offline



Posts: 46
Location: Miami, FL. USA
Joined: Oct 4th, 2014
Gender: Male
Re: Delays
Reply #6 - Oct 9th, 2016 at 8:01pm
Print Post  
Is the  fopen and fclose strictly a perl thing, and/or is it a server/host issue?

(and why is my text so small?)
  

Florida Classics and Muscle Car Automotive Forum Administrator
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Delays
Reply #5 - Oct 7th, 2016 at 4:34pm
Print Post  
Computer is back working, I have almost all my data back, I'm hard at work on getting YaBB 2.7.0 to comply with the strict pragma. I'm hoping to get the strict version into the SourceForge SVN sometime next week. NOTE: this test version does not have any file locking as I still have to get the fopen and fclose functions to behave under the strict pragma. (I'm also not sure how well they actually work at locking files but Debug pulls data out of those functions so they (maybe) are stil needed.)

Other changes in this version - many variables and subroutines have been converted to lowercase (This has has been the recommendation for many years and helps prevent some of the issues with variables that Monni and others have uncovered.) I'll post a list of the changes later.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Delays
Reply #4 - Sep 23rd, 2016 at 1:13am
Print Post  
Luckily this is on the desktop - so the OS was okay and the programs weren't damaged. But there's about 500 gb of music that I may or may not be able to recover. 
And there's a lot of 0-length files I'll have to recreate.  Sad
Edited:
Oh, and the data transfer is in SafeMode because my machine has decided to not load any USB devices while in regular mode. I'm hoping it's a USB 3.0 conflict so it will cure itself when I unplug the USB HDD.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Bill Myers
New Member
*
Offline


Using YaBB since 2002

Posts: 46
Location: Los Angeles, CA
Joined: Feb 13th, 2014
Gender: Male
Re: Delays
Reply #3 - Sep 22nd, 2016 at 11:17pm
Print Post  
That's a lot of data. Shocked

But I know what that's like. I whittled mine down to just under 180 GB of essential data on my new working laptop. My older laptop had about 930 GB.

One of the positives of only copying essential data onto the new laptop is that my other data, which are frequently accessed, are readily available on two backup drives. So for now at least, my new laptop is lean, and optimized.

Considering all of the work that I've done over the years, I'm a bit surprised that I only have about 1.3 TB of data that's copied, and backed up on various external drives. Then again, a lot of work was done with partners, so the media holding it is dependent on who has the rights.

To this day, I'm still amazed at how much data Google stores. The last I read on this claimed around 10-15 exabytes. But I think the NSA holds the most, or surely near the top. Imagine keeping all of that data backed up, although in practice I think it's basically a series of relatively small backups that occur simultaneously.

In any case, the relatively large amount of data that I have is one of the reasons I keep it backed up incrementally. Mostly. When it comes time to start over with a fresh, clean backup, that's when I feel the pain of how much time it takes.

Hang in there. 
  

Morning, noon, or night, have a great one!
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Delays
Reply #2 - Sep 22nd, 2016 at 8:02pm
Print Post  
250 gb of data takes a heck of a long time to copy from a HDD that won't pass Check Disk.  Cry
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Bill Myers
New Member
*
Offline


Using YaBB since 2002

Posts: 46
Location: Los Angeles, CA
Joined: Feb 13th, 2014
Gender: Male
Re: Delays
Reply #1 - Sep 22nd, 2016 at 5:43pm
Print Post  
OUCH! Been there; done that.

Not long ago this almost happened again, but this time I had the luck to have seen the signs of a major failure before it actually happened. I now have a new laptop computer because of what happened, and just in the nick of time, too.

But even with my good luck this time, it still wasn't a particularly pleasant task to basically recreate my work space on the new laptop. I do have a desktop that more or less duplicates my work space, but I was still on edge about it all for a good week or so.

So I feel your pain. Good luck with getting everything back in order. This too shall pass.
  

Morning, noon, or night, have a great one!
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Delays
Sep 22nd, 2016 at 3:04am
Print Post  
I've just had a major computer failure that took out my data drive and the most recent backup.

It may be a while before I can get back to work.  Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint