Hi
So i have a linux box with PHP 5 and mysql installed!
When i start up the box and check the memory status i get the following:
Total memory: 93660k
Memory user: 56892k
Memory free: 36760k average (goes down grdually here)
Then the process:
Mysql: Average% 7.9
Then after using the website i have hosted the above number start to decrease...drastically:
After the first run of the web site:
Memory Free goes down to : 27224k
and Mysqld goes up to about 8.9%
After some time...
Memory Free goes down to : 3360M
and Mysqld goes up to about 10M
is this normal or? I know i haven't been careful on the programming side! but what i'm asking some checks i should make within the code so i can make sure to reduce the memory consumption; especially where mysql is involved!
Thanks
Nick
So i have a linux box with PHP 5 and mysql installed!
When i start up the box and check the memory status i get the following:
Total memory: 93660k
Memory user: 56892k
Memory free: 36760k average (goes down grdually here)
Then the process:
Mysql: Average% 7.9
Then after using the website i have hosted the above number start to decrease...drastically:
After the first run of the web site:
Memory Free goes down to : 27224k
and Mysqld goes up to about 8.9%
After some time...
Memory Free goes down to : 3360M
and Mysqld goes up to about 10M
is this normal or? I know i haven't been careful on the programming side! but what i'm asking some checks i should make within the code so i can make sure to reduce the memory consumption; especially where mysql is involved!
Thanks
Nick