160 mystery files created on G1 root when fixing for memory size exhausted issue
|
xinca
![]()
Joined: 2002-09-28
Posts: 81 |
Posted: Sat, 2008-03-29 06:54
|
|
The G1 has been running smoothly for a month. Just few days ago its random block gave this error: Quote:
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to So I routinely went fixing it by changing the local php.ini (in place since G1's installation for another reason) memory_limit=40MB to 128MB. The change gave no effect so I submitted a ticket to my Hostgator requesting restart server. The next day they replied that the 128MB is NOT allowed, and mentioned that 40MB is the maximum and should be big enough for most applications. They assured me that my server is still having ample resources to accommodate my usage. Then I went to check if problem fixed, and noticed that: 1. The random image was once fixed as the php.ini restarted. But that exhaust error comes again next day. 2. 160 mystery files on my G1 root. I have checked the FAQ on exhausted memory: Now what can I do to get this random block working??!! Could it be php5? I manage another G1 on another Hostgator server running on php4 and the random block never has any problem. I doubt if Hostgator will ever revert my shared server from php5 to php4 on request... : ( What can I do now?
The following information is required to get an answer: Sponsor: SyncEXP - Synchronizes data ( files & ODBC records ) between any storage drives < http://syncexp.com/ > |
|
| Login or register to post comments |



Posts: 6522
Hello,
1.)
Gallery 1 is not that well desgined and scales VERY BAD. So the only thing to avoid the memory issue is to increase the memory limit in php.ini, or delete photos. (Or migrate to G2)
2.)
Those files are coredump files. See http://en.wikipedia.org/wiki/Core_dump
You can savely delete them, or tell your hoster to delete them.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 81
Jens,
Feel like meeting an angel when getting your reply : )
Will I be better off to run G1 on php4 server, instead of a php5? Or upgrading to G1.6beta?
The G1 has tones of customer data defined on the keyword field, and the customer is not keen to learn G2... that's why I am still working on this dear G1 : (
Sponsor: SyncEXP - Synchronizes data ( files & ODBC records ) between any storage drives < http://syncexp.com/ >
Posts: 6522
Maybe (!) g1 runs better on php5. But i don't think so.
Gallery 1.6 basically uses the same technics as 1.5.7.
So this will also not fix the issue
_I_ also like G1 (hence my signature)
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 81
delete photos --> it rings the bells. So I proceeded checking on its tens of album folders. Holly cow it has a folder of size 400KB with 2000 files inside (ie. 600+ items). I removed it immediately and everything works like a charm.
Luckily the photos in that folder are not essential so I built and migrated all of them to a G2. My client will then work on G1 and G2 side by side. Not a perfect arrangement but acceptable by them.
The G1 still have nearly 3000 items but the page load speed is about the same as smaller size galleries. I guess the secret is keeping each album to hold fewer than 100 items.
I write all this in hope to record one more option to people who will come across this "memory exhausted" issue. May be Jens will consider adding this option to the FAQ page : )
Sponsor: SyncEXP - Synchronizes data ( files & ODBC records ) between any storage drives < http://syncexp.com/ >