[RESOLVED] session_start freeze / hang issue
Moderator: General Moderators
Re: session_start freeze / hang issue
The site is pretty non database oriented but we're converting it over to have it completely run off the database. Would you recommend me to change anythings in that mysql config file?
Re: session_start freeze / hang issue
I would certainly change it, but to what depends on how much ram the server has and the server load.
There are sample configurations you can view. They should be on your server or you can search for them.
Look for:
/usr/share/mysql/my-medium.cnf
/usr/share/mysql/my-huge.cnf
/usr/share/mysql/my-large.cnf
/usr/share/mysql/my-small.cnf
/usr/share/mysql/my-innodb-heavy-4G.cnf
There are sample configurations you can view. They should be on your server or you can search for them.
Look for:
/usr/share/mysql/my-medium.cnf
/usr/share/mysql/my-huge.cnf
/usr/share/mysql/my-large.cnf
/usr/share/mysql/my-small.cnf
/usr/share/mysql/my-innodb-heavy-4G.cnf
Re: session_start freeze / hang issue
I might have tracked it down to a different piece of code. It's only "locked up" once since I commented out one piece of code and left session_start in. Better than I've been able to do so far!
Excerpt from session.php
Access.php
It seems like it would always lock up when I had those active and I would try to go to index.php?page=admin (thus redirecting me to the log-in page). It redirected me successful a few times but usually after it redirects it locks me out. Most times it just locks up right when I try to goto ?page=admin.
Excerpt from session.php
Code: Select all
Resolved this piece of code, removed.Access.php
Code: Select all
Resolved this piece of code, removed.
It seems like it would always lock up when I had those active and I would try to go to index.php?page=admin (thus redirecting me to the log-in page). It redirected me successful a few times but usually after it redirects it locks me out. Most times it just locks up right when I try to goto ?page=admin.