contactwin
Verified User
- Joined
- Jun 28, 2006
- Messages
- 15
Hello,
pardon me for being a newbie, i've researched quite a lot on all of the subjects i have queries upon, a few to which i could get answers/figured out the problem.
Here are somethings i couldnt figure out
-------------
My server Config
Processor Name Intel(R) Pentium(R) 4 CPU 2.80GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 2792.138
Total Memory 1032340 kB
OS: RedHat Linux 9.0
Total Swap Memory 2048276 kB
Apache 1.3.36
DirectAdmin 1.23.1
Exim 4.42
MySQL 4.0.17
Named 9.2.1
ProFTPd 1.2.9
sshd Running
vm-Pop3d 1.1.7e
---------------------
Additional Stats
# of Domains 49
# of SubDomains 8251
POP Email Accounts 19
Email Forwarders 0
Mailing Lists 0
AutoResponders
# of MySQL DBs 21
-------------------------
Side most of MySQL dbs are just testing (never used) so let's not get there
Now 1st Question,
I'm facing memory problems i'm guessing, what's happening is, when i restart apache i have around 1032340 kB free, then it keeps decreasing to around 100000 kb - 150000 kb, and the swap memory is reduced from 2048276 kB to 50kb even
This has happened on 3-4 ocassions now, when it does happen, neither will directadmin respond, nor will any other thing. Everything's a stand still...Thankfully nac.net has provided me a web url through which i can issue a soft reboot on the server.
Now i've read about checking the processes and stuff, i've done a "TOP" and everything seems normal...
What would i need to have to do? Do i need additional Memory? Or is it some other tweaking, i don't know where to find the log files for what process uses what resources and where so the command lines and paths to find them will be appreciated.
So what is suggested?
My 2nd Question, most of you have the default my.cnf file, any idea as to what will be best for my server config.
Also, how do i check if any of the php mysql queries are bad? where do i find them.
My 3rd Question
I saw something in a thread about mysql optimization and found this
mysqlcheck -o -u root -p --all-databases
what does this do and why is it used?
I tried logging in as root but it gave me a permission denied.
While i tried logging into SSH via the user "da_admin" it never logged me in at all, even after using the password located here
/usr/local/directadmin/scripts/setup.txt
Please Guide Me
Contactwin
pardon me for being a newbie, i've researched quite a lot on all of the subjects i have queries upon, a few to which i could get answers/figured out the problem.
Here are somethings i couldnt figure out
-------------
My server Config
Processor Name Intel(R) Pentium(R) 4 CPU 2.80GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 2792.138
Total Memory 1032340 kB
OS: RedHat Linux 9.0
Total Swap Memory 2048276 kB
Apache 1.3.36
DirectAdmin 1.23.1
Exim 4.42
MySQL 4.0.17
Named 9.2.1
ProFTPd 1.2.9
sshd Running
vm-Pop3d 1.1.7e
---------------------
Additional Stats
# of Domains 49
# of SubDomains 8251
POP Email Accounts 19
Email Forwarders 0
Mailing Lists 0
AutoResponders
# of MySQL DBs 21
-------------------------
Side most of MySQL dbs are just testing (never used) so let's not get there
Now 1st Question,
I'm facing memory problems i'm guessing, what's happening is, when i restart apache i have around 1032340 kB free, then it keeps decreasing to around 100000 kb - 150000 kb, and the swap memory is reduced from 2048276 kB to 50kb even
This has happened on 3-4 ocassions now, when it does happen, neither will directadmin respond, nor will any other thing. Everything's a stand still...Thankfully nac.net has provided me a web url through which i can issue a soft reboot on the server.
Now i've read about checking the processes and stuff, i've done a "TOP" and everything seems normal...
What would i need to have to do? Do i need additional Memory? Or is it some other tweaking, i don't know where to find the log files for what process uses what resources and where so the command lines and paths to find them will be appreciated.
So what is suggested?
My 2nd Question, most of you have the default my.cnf file, any idea as to what will be best for my server config.
Also, how do i check if any of the php mysql queries are bad? where do i find them.
My 3rd Question
I saw something in a thread about mysql optimization and found this
mysqlcheck -o -u root -p --all-databases
what does this do and why is it used?
I tried logging in as root but it gave me a permission denied.
While i tried logging into SSH via the user "da_admin" it never logged me in at all, even after using the password located here
/usr/local/directadmin/scripts/setup.txt
Please Guide Me
Contactwin