Forums / Install & configuration / Server goes DOWN - is ez publish guilty?

Server goes DOWN - is ez publish guilty?

Author Message

Andrey Astakhov

Friday 19 October 2007 4:17:10 am

My web server goes down third time this week.
Server administrator say that they suspect php memory leaks.

Hardware
AMD Athlon64 3500+, 1GB RAM

Software
Operating system: Redhat Linux Fedora 6
Apache: 1.3.37
PHP: 4.4.7 (php info: http://prostobank.com.ua/phpinfo.php)
eZ Publish: 3.8.4

We have about 5000 visitors per day.

I noticed that ezsession table is always corrupted after server is down.
I truncated this table and kept an eye on it.
Thus, I've found out that size of this table grows drastically: about 50-60 NEW sessions per minute.
At the moment I have 3900 anonymous users and 5900 sessions. I tried to delete old and expired sessions, but it doesn't work: i still have 5900 sessions (even more already).

60 new sessions per minute - is this a normall behaviour?

André R.

Friday 19 October 2007 6:13:03 am

Related issue:
http://issues.ez.no/10431

Related forum thread:
http://ez.no/developer/forum/general/session_table_not_being_cleared_in_a_3_6_2_site

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Andrey Astakhov

Friday 19 October 2007 9:16:46 am

Thank you for answer, Andre
<i>
> Related issue:
> http://issues.ez.no/10431
</i>
I don't have Debian or Ubuntu and my session.gc_probability = 1
Why the resolution for this issue is "Won't Implement"? Is it not a problem?

<i>
> Related forum thread:
> http://ez.no/developer/forum/gene...le_not_being_cleared_in_a_3_6_2_site
</i>

Great: "I belive there is a 'session' created for every request from the anynomous user"
That is a real problem. Session cleanup cronjob but is good idea but it looks like a workaround. Why eZ Publish creates a new record in ezssession table for every http request? Does it depend on [Session] configuration in site.ini?