I've had my pylons site up and running for a few months now, and I
pushed up a few changes on Saturday night. All seemed to be well,
however, when I checked in on Sunday morning, the site was down and I
was repeatedly getting this error message in the logs:

[Sun Dec 09 15:49:41 2007] [error] [client 204.15.23.171] FastCGI:
server "[snip] stderr: Erro\
r - myghty.exception.Error: Error(IOError): [Errno 37] No locks
available at /home/username/lib/python2.4/site-packages/Myghty-1.1-p\
y2.4.egg/myghty/synchronization.py line 227

It took me a while to figure it out, but it seems that fcntl.flock()
doesn't get a lock my server. ( I'm using shared hosting with
Dreamhost ). After doing some research, dreamhost use NFS so this is
to be expected but I'm confused as to whether this used to work and
they've changed something? Or somehow I've screwed up the permissions
on my lock files ( I've checked the data/templates directory is seems
to be ok.

I'm pretty stumped as to what exactly has happened and what I can do
to fix it. You help would be much appreciated.

Thanks,
Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to