Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    General Discussion    Chit - Chat  ›  My account?
Users Browsing Forum
No Members and 1 Guests

My account?   This thread currently has 1,358 views. Print
2 Pages « 1 2 Recommend Thread
threewishes
March 13, 2010, 4:30pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 264
Posts Per Day: 0.25
Time Online: 2 days 43 minutes
Justin, thanks for looking into this challenge.  Please keep us informed.  
Logged Offline
Private Message Private message Reply: 15 - 19
Justin
March 18, 2010, 8:07pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,196
Gender: Male
Posts Per Day: 4.37
Reputation: 93.25%
Reputation Score: +304 / -22
Time Online: 37 days 19 hours 48 minutes
Location: Tallassee, AL
Age: 25
Here's a script you can run on Linux to see how much disk space you have (actual disk space).  May not work on all servers.  Just ran it on a server that was having problems and one drive was at 100% and the other was 96%.  It's a wonder anything still works at that point.  

We're at 84% here at E-Blah. Anything over 80% is yellow in my opinion.

Code
#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "<pre>";
print `df`;

exit;
1;


Chmod 755.  Note that you need to use the drive your site's on, /tmp for example may be at 0%, but your site isn't located there .  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  | Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV
Logged Online
Site Site Private Message Private message Reply: 16 - 19
David100351
March 20, 2010, 8:00am Report to Moderator Report to Moderator

Expert on Elliott 803B.
Posts: 53
Gender: Male
Posts Per Day: 0.05
Time Online: 18 hours 25 minutes
Location: Horwich, Lancashire, UK
Quoted from Justin
  The most probable (and usually reasons) why this fails is because server space is low, the E-Blah process is killed (during a write operation), or file locking is not supported by the file system.


Firstly, my own problems weren't due to Eblah, but to Heart's documentation within their free offering, which was just wrong, and seems to me designed to persuade me to move to a package that includes more support.

Secondly, I've been watching this subject for a while. If it can be pinned down to a perl failure in writing one .dat file, can't the proposed new written-to .dat file be compared in size with the old .dat file, and if there is an unexpectedly large discrepancy, the process aborted and then repeated afresh?

I know next to nothing about perl, programming, etc., but I was curious as to what's possible, really....
Logged Offline
Private Message Private message Reply: 17 - 19
Justin
March 21, 2010, 12:36pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,196
Gender: Male
Posts Per Day: 4.37
Reputation: 93.25%
Reputation Score: +304 / -22
Time Online: 37 days 19 hours 48 minutes
Location: Tallassee, AL
Age: 25
Yes, you could (create a .bak file), but that also creates more overhead and I'm not sure a move/rename operation wouldn't blank the file out either.  It would be relatively easy to implement, but I'm not really sure it would solve the problem either.  I've seen other Perl software go this route to try to fix it, but I don't believe it solved the problem either.

The good news is that E-Blah itself isn't the cause of the problems -- it's servers that run low on disk space and aren't properly handled.  The bad news is it's always going to happen that people forget to keep watch of their disk space.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  | Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV
Logged Online
Site Site Private Message Private message Reply: 18 - 19
David100351
March 22, 2010, 3:02pm Report to Moderator Report to Moderator

Expert on Elliott 803B.
Posts: 53
Gender: Male
Posts Per Day: 0.05
Time Online: 18 hours 25 minutes
Location: Horwich, Lancashire, UK
Quoted from Justin
Yes, you could (create a .bak file), but that also creates more overhead


I was thinking more of a "forward" file than a "Bak" file, but I get what you're saying:  if the disk space isn't there any operation  is going to produce erratic results, if any, and that's what the problem is and where the solution must lie.

Leave lots of leeway.
Logged Offline
Private Message Private message Reply: 19 - 19
2 Pages « 1 2 Recommend Thread
Print

E-Blah Community    General Discussion    Chit - Chat  ›  My account?