
10-13-2005, 06:31 PM
|
|
Newbie
|
|
Join Date: Oct 2005
Posts: 8
|
|
Hi, i just got a dedicated server not too long ago, i'm very new so i got PlatinumServerM to manage my server but i think they are not much helping. So i try to come here for help. My site is very slow and they said its low on memory so they made a few tweak but site is still the same. Anyway i think, i'm going to cancel after this month expire.
I've copy and paste from ssh, hopefully this will help. Initially i've only had 512mb ram, I'm not sure if this is normal but all of the ram are constantly used up all the time. My site is very slow and i cant upload much using ftp either. It was low on memory with 512mb of ram and about 40 people on the site. So i just had it upgrade to 1gig ram now but same thing the 1gig gets used up again and this happen when only about 15 people on the site. I use mod_limitipconn to limit jjust 1conn/ip right now. Still everything is super slow.
about the site, just have small zip file of roughly 4-6mb for downloading, h**p://kippeimanga.n*t
root@new10 [/]# top
18:12:18 up 2:14, 2 users, load average: 0.11, 0.10, 0.07
102 processes: 100 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.0% 0.2% 1.4% 0.6% 0.8% 1.6% 95.4%
Mem: 1019460k av, 1010700k used, 8760k free, 0k shrd, 109944k buff
573828k actv, 320016k in_d, 22288k in_c
Swap: 1052216k av, 220k used, 1051996k free 785288k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
6 root 15 0 0 0 0 SW 0.5 0.0 0:01 0 kscand
16505 nobody 19 4 3788 3788 1852 S N 0.1 0.3 0:00 0 httpd
16947 root 25 10 1144 1144 896 S N 0.1 0.1 0:02 0 top
19471 nobody 19 4 3852 3852 1896 S N 0.1 0.3 0:00 0 httpd
21689 nobody 19 4 5112 5112 3176 S N 0.1 0.5 0:00 0 httpd
22357 nobody 19 4 3968 3968 2032 S N 0.1 0.3 0:00 0 httpd
1 root 15 0 116 116 56 S 0.0 0.0 0:03 0 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd/0
7 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
5 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kswapd
8 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kupdated
9 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 mdrecoveryd
|

10-13-2005, 06:57 PM
|
|
WHT Addict
|
|
Join Date: Jan 2005
Posts: 117
|
|
Linux uses memory as cache. When its rebooted, the cached is cleared, and when applications or daemons need more ram, some of the cache is freed. That is not your problem and im not positive what it is.
You could use hdparm to test the HD write speed, to see if its your system. Other wise it is your bandwidth usage. Check your totals.
__________________
<<Please see rules for signature setup>>
|

10-13-2005, 07:28 PM
|
|
Disabled
|
|
Join Date: Oct 2005
Location: USA
Posts: 19
|
|
Your server itself doesn't indicate any CPU load, the memory usage is because of read cache - which is most likely caused by the file that is being downloaded from your clients.
How did you measure that the server is slow, the connection to the server or you have run stress test ?
It could be your network connectivity to the server is slow, you can try to run apache benchmark programs or local benchmark to try and see what is the problem with the performance of your server
|

10-13-2005, 07:31 PM
|
|
Newbie
|
|
Join Date: Oct 2005
Posts: 8
|
|
Oshaka, i'm unlimited accoutn with hivelocity and only use up 150gb this month so far....so this coundnt be the problem, is it?
I tried hpdarm but whats the command option tfor testing HD write speed? i try some of the option nothing shows up tho
Oshaka, do you have msn or something so maybe i get your help directly =). I dont have premium acc here so i cant see you email/pm you.
|

10-13-2005, 07:38 PM
|
|
Web Hosting Master
|
|
Join Date: Jun 2005
Location: Canada
Posts: 2,493
|
|
h04n9, it doesn't require a premium account. you need 5 posts minimum before you can do everything on the forums.
__________________
GeeksGather - Undergoing redevelopment. Stand by.
|

10-13-2005, 07:58 PM
|
|
Newbie
|
|
Join Date: Oct 2005
Posts: 8
|
|
oh didnt know that! hehe thanks ImageTutorials for letting me know
|

10-13-2005, 08:39 PM
|
|
Newbie
|
|
Join Date: Oct 2005
Posts: 8
|
|
Hostracer, do i just stress test the main page? i'm too not sure
|

10-13-2005, 08:43 PM
|
|
Newbie
|
|
Join Date: Oct 2005
Posts: 8
|
|
Is this good or bad?
This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
Benchmarking kippeimanga.n*t (be patient).....done
Server Software: Apache/1.3.33
Server Hostname: kippeimanga.n*t
Server Port: 80
Document Path: /index.html
Document Length: 35567 bytes
Concurrency Level: 1
Time taken for tests: 0.136 seconds
Complete requests: 50
Failed requests: 0
Broken pipe errors: 0
Total transferred: 1797050 bytes
HTML transferred: 1778350 bytes
Requests per second: 367.65 [#/sec] (mean)
Time per request: 2.72 [ms] (mean)
Time per request: 2.72 [ms] (mean, across all concurrent requests)
Transfer rate: 13213.60 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 2 2 0.0 2 3
Waiting: 2 2 0.0 2 3
Total: 2 2 0.0 2 3
ERROR: The median and mean for the processing time are more than twice the standard
deviation apart. These results are NOT reliable.
ERROR: The median and mean for the waiting time are more than twice the standard
deviation apart. These results are NOT reliable.
ERROR: The median and mean for the total time are more than twice the standard
deviation apart. These results are NOT reliable.
Percentage of the requests served within a certain time (ms)
50% 2
66% 2
75% 2
80% 2
90% 2
95% 2
98% 3
99% 3
100% 3 (last request)
|

10-13-2005, 10:08 PM
|
|
Web Hosting Master
|
|
Join Date: Apr 2004
Location: San Jose
Posts: 902
|
|
Are you still throttling your server? Browsers will try to open multiple connections to your server to get images, etc. You should let it be at least 5 connections/ip.
You've got a fair number of remote javascript and images on your page. Sometimes that can make the page load slow when the browser can't display the page until they've all been downloaded. If one is very slow, it can drag the whole page down.
__________________
Specializing in MySQL and website tuning for high traffic sites. cmwsci.com/
|

10-13-2005, 11:27 PM
|
|
Newbie
|
|
Join Date: Oct 2005
Posts: 8
|
|
yah its still set at 2 connections/ip. PlatinumServerManagement install the mod_bandwidth for me to make this limit, i've got no response from them for two days since i submit a ticket so i dont need them anymore. I login to shell but I dont see the setting for mod_bandwidth in httpd.conf that limit 2 conns/ip. Dont know where you set it in. Where else can they put this setting in?
|

10-14-2005, 02:31 AM
|
|
Web Hosting Master
|
|
Join Date: Apr 2004
Location: San Jose
Posts: 902
|
|
See http://www.cohprog.com/v3/bandwidth/doc-en.html
You're likely looking for the BandWidth statement. It can be in a .htaccess file, as well.
__________________
Specializing in MySQL and website tuning for high traffic sites. cmwsci.com/
|

10-14-2005, 07:46 PM
|
|
Newbie
|
|
Join Date: Oct 2005
Posts: 8
|
|
this morning when site was shut down the memory used was around 400mb and the upload through ftp, browsing through cpanel or shell its all fine really fast. But then once the site is up the memory get up to nearly all the ram get used up. Iknow oshaka say its normal but everything really just sloww down once site is up. Cant upload much bcuz speed average just 10KB/s or lower and access shell is a pain, scroll through text....so much lagging.
Current Memory Usage total used free shared buffers cached
Mem: 1019460 1008924 10536 0 115896 777616
-/+ buffers/cache: 115412 904048
Swap: 1052216 4392 1047824
Total: 2071676 1013316 1058360
|

10-14-2005, 07:52 PM
|
|
Web Hosting Master
|
|
Join Date: Apr 2004
Location: San Jose
Posts: 902
|
|
That sounds like you are having bandwidth issues, then.
Have you contacted HiVelocity to test your connection? Perhaps you have a bad switch port, bad card, or are overloading a 10Mb switch port, etc.
__________________
Specializing in MySQL and website tuning for high traffic sites. cmwsci.com/
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|