General Error
SQL ERROR [ mysql4 ]
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2) [2002]
An sql error occurred while fetching this page.
Just reporting i got this late last night, after midnight until about 2AM when i went sleep. Today is fine. I'm not sure if it's important or not.
SQL ERROR [ mysql4 ]
- RiK
- Sheepie Whore

- Posts: 16092
- Joined: Tue Apr 23, 2002 11:32 pm 0
- XBL Gamertag: Dr Olpin
- PSN: Dr Thumpy
- Location: The Shire
- Contact:
Re: SQL ERROR [ mysql4 ]
RiK
Yakyak Admin
Martial Arts: http://www.BlackBeltAcademy.info
Photography: http://www.richardolpinphotography.co.uk
Yakyak Admin
Martial Arts: http://www.BlackBeltAcademy.info
Photography: http://www.richardolpinphotography.co.uk
Re: SQL ERROR [ mysql4 ]
Cheers 
- zip accident
- Sheepie Whore

- Posts: 13928
- Joined: Sun Feb 20, 2005 1:58 pm 0
- Location: Bristol, UK
Re: SQL ERROR [ mysql4 ]
I presume someone here knows about this, but on the off chance that no-one does, I thought I ought to mention it. I don't know what whatever logs there are are saying, but last night from about 12 midnight the site was down, with this error.
It's happened once before since this thread was started, on a Sunday, but I don't remember whether it was at the Saturday -> Sunday or Sunday -> Monday switchover.
It's happened once before since this thread was started, on a Sunday, but I don't remember whether it was at the Saturday -> Sunday or Sunday -> Monday switchover.
"My way is the way of not fighting":- the book of Enter the Dragon.
Re: SQL ERROR [ mysql4 ]
It's done it a couple of times in the last month after running out of swap space.
I need to set up a daemon that resets the machine when that happens. On the plus side it's now 6 quid a month for hosting as opposed to £70
I need to set up a daemon that resets the machine when that happens. On the plus side it's now 6 quid a month for hosting as opposed to £70
Re: SQL ERROR [ mysql4 ]
Can't you set ulimit on the guilty process to kill it long before it affects the server ? Or maybe rub it via DJB's softlimit ?
Re: SQL ERROR [ mysql4 ]
Great - enjoygravy wrote:...On the plus side it's now 6 quid a month for hosting as opposed to £70
Say hi to my new website Wewalk.dk

