This site is now 100% read-only, and retired.

XML logo

Server acting up again - slow speeds!
Posted by Grimnar on Tue 24 Apr 2007 at 18:34
Tags: none.


Just having a strange problem. This week I have to reboot my server once a day to
get my normal speeds. I transfer a lot of images from my laptop to my server. This usually goes with the speed of about 3000kbs (wireless). But hours after reboot this goes down to 30 kbs. What the hell? Both samba and proftpd gives me these speeds. What can cause this problems?

 

Comments on this Entry

Re: Server acting up again - slow speeds!
Posted by Anonymous (77.97.xx.xx) on Tue 24 Apr 2007 at 19:31
Slow servers are caused by too many processes, too much memory usage, or hardware failure. Have a look at top to see what's running and what's using up memory, have a look at uptime to see resource usage over time, and take a look at this page for more debugging tips.

[ Parent ]

Re: Server acting up again - slow speeds!
Posted by Grimnar (85.221.xx.xx) on Tue 24 Apr 2007 at 20:20
[ View Weblogs ]
Apache, mysql, gdm, x11, several small apps - all stopped. The results: 30kbs.
    4 root       10  -5     0     0    0 S  0.3  ; 0.0   0:02.59 events/0  &nbs p;          &nb sp;          &n bsp;          & nbsp;                       ;          &nbs p;          &nb sp;         
30420 andreas   15   0 &n bsp;4612 2160 1400 S  0.3  0.2    0:00.17 proftpd    &nb sp;          &n bsp;          & nbsp;                       ;          &nbs p;          &nb sp;          &n bsp;        
    1 root       15   0  1944  640 & nbsp;548 S  0.0  0.1   0: 02.08 init        &n bsp;          & nbsp;                       ;          &nbs p;          &nb sp;          &n bsp;          & nbsp;       
    2 root       RT   0     0 & nbsp;  0    0 S  0.0   0.0   0:00.00 migration/0 &n bsp;          & nbsp;                       ;          &nbs p;          &nb sp;          &n bsp;          & nbsp;       
    3 root       34  19     0     0    0 S  0.0  ; 0.0   0:00.01 ksoftirqd/0  & nbsp;                       ;          &nbs p;          &nb sp;          &n bsp;          & nbsp;                  
    5 root       10  -5     0     0    0 S  0.0  ; 0.0   0:00.00 khelper    ;          &nbs p;          &nb sp;          &n bsp;          & nbsp;                       ;          &nbs p;          
    6 root       10  -5     0     0    0 S  0.0  ; 0.0   0:00.01 kthread    ;          &nbs p;          &nb sp;          &n bsp;          & nbsp;                       ;          &nbs p;          
    9 root       10  -5     0     0    0 S  0.0  ; 0.0   0:00.33 kblockd/0  &nb sp;          &n bsp;          & nbsp;                       ;          &nbs p;          &nb sp;          &n bsp;        
   10 root       ;20  -5     0    ; 0    0 S  0.0 &nbs p;0.0   0:00.00 kacpid     ;          &nbs p;          &nb sp;          &n bsp;          & nbsp;                       ;          &nbs p;          
   94 root       ;10  -5     0    ; 0    0 S  0.0 &nbs p;0.0   0:00.00 kseriod   &nbs p;          &nb sp;          &n bsp;          & nbsp;                       ;          &nbs p;          &nb sp;         
  134 root      15&n bsp;  0     0    ; 0    0 S  0.0 &nbs p;0.0   0:00.05 pdflush   &nbs p;          &nb sp;          &n bsp;          & nbsp;                       ;          &nbs p;          &nb sp;         
  135 root      15&n bsp;  0     0    ; 0    0 S  0.0 &nbs p;0.0   0:02.34 pdflush   &nbs p;
Note, this is only a home server not doing that much. Mainly keeping my photos in shape.

[ Parent ]

Re: Server acting up again - slow speeds!
Posted by Grimnar (85.221.xx.xx) on Tue 24 Apr 2007 at 20:30
[ View Weblogs ]
Eh, what's going on? When quoting the above messsage the bbcode looked good. Even when I checked the code before confirming it was ok. But it's not good when posted? STEVE?!:)

[ Parent ]

Re: Server acting up again - slow speeds!
Posted by randallb (68.45.xx.xx) on Tue 24 Apr 2007 at 21:21
And if you click the "Reply to this comment" link for that comment, it also looks correct on the "Add Comment" page. Although each line has a lot of spaces at the end, making my browser window scroll horizontally.

[ Parent ]

Re: Server acting up again - slow speeds!
Posted by Steve (62.30.xx.xx) on Tue 24 Apr 2007 at 22:55
[ View Weblogs ]

Lines of long non-broken comments are broken up every 45 characters or so to prevent page-widening attacks.

I don't know what you entered but the lines like "xxx  " have no space in them so they trigger it.

I'd suggest using "pre", "code", etc, in HTML mode if you want things to look fancy. I'm not sure how BBCode works for those kind of things. If it just adds   you're going to get into trouble.

I'll update the code so that the preview behaves the same way to at least make the problem apparent prior to you commiting your text. Thats as much as I can/will do while I'm so busy.

Steve

[ Parent ]

Re: Server acting up again - slow speeds!
Posted by Grimnar (85.221.xx.xx) on Tue 24 Apr 2007 at 21:32
[ View Weblogs ]
Anyways, just rebooted the server, the same processes in on and I get very good speeds. 3500KB/s.

[ Parent ]

Re: Server acting up again - slow speeds!
Posted by Grimnar (85.221.xx.xx) on Wed 25 Apr 2007 at 15:01
[ View Weblogs ]
Another thing. I've been running this: deb http://ftp.us.debian.org/debian/ etch main non-free contrib deb http://security.debian.org/ etch/updates main non-free contrib deb-src http://ftp.us.debian.org/debian/ etch main deb-src http://security.debian.org/ etch/updates main deb http://www.debian-multimedia.org etch main Now since Etch has been released should I change this into something else? I still want to run testing.

[ Parent ]

Re: Server acting up again - slow speeds!
Posted by Anonymous (81.84.xx.xx) on Wed 25 Apr 2007 at 20:33
if you want testing, use testing instead of etch everywhere

[ Parent ]

Re: Server acting up again - slow speeds!
Posted by Grimnar (85.221.xx.xx) on Fri 27 Apr 2007 at 00:10
[ View Weblogs ]
Yeah, upgraded to Lenny, but still having troubles with the speed. Works perfectly after reboot. Few hours later it all sucks. Stopped several programs but nothing changes.

[ Parent ]

Re: Server acting up again - slow speeds!
Posted by Grimnar (85.221.xx.xx) on Mon 30 Apr 2007 at 22:57
[ View Weblogs ]
Still no solution to this... I can download from the server at normal fast speed, but the speed drops when trying to upload. grr!

[ Parent ]