Server/Putty/WinSCP is sloooow...

Discussion in 'General' started by schmidtedv, Mar 2, 2007.

  1. schmidtedv

    schmidtedv New Member

    Well, seems not to be my .9 to .10 upgrade, that's responsible for my weak server...there seems to be something really wrong because commands and even login within putty need a long time to be executed, WinSCP breaks down quite often with its 15 sec. connection-timeout and admin-panel is slow like having a 486 33Mhz....

    The Hardware is 700Mhz 256MB, which should be enough, I guess...so I'm searching for what is slowing everything to death, without really knowing where and what for to look. Below some outputs I could get (after a while) within putty:

    Code:
    Aktive Internetverbindungen (Server und stehende Verbindungen)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State                           PID/Program name
    tcp        0      0 localhost.localdo:60000 *:*                     LISTEN     1                    958/postgrey.pid -
    tcp        0      0 *:rsync                 *:*                     LISTEN     2                    249/rsync
    tcp        0      0 *:mysql                 *:*                     LISTEN     2                    073/mysqld
    tcp        0      0 *:81                    *:*                     LISTEN     2                    304/ispconfig_http
    tcp        0      0 *:ftp                   *:*                     LISTEN     2                    600/proftpd: (acce
    tcp        0      0 84-16-250-217.in:domain *:*                     LISTEN     2                    585/named
    tcp        0      0 84-16-250-216.in:domain *:*                     LISTEN     2                    585/named
    tcp        0      0 84-16-251-18.int:domain *:*                     LISTEN     2                    585/named
    tcp        0      0 localhost.locald:domain *:*                     LISTEN     2                    585/named
    tcp        0      0 localhost.localdoma:953 *:*                     LISTEN     2                    585/named
    tcp        0      0 *:smtp                  *:*                     LISTEN     2                    568/master
    tcp6       0      0 *:imaps                 *:*                     LISTEN     1                    988/couriertcpd
    tcp6       0      0 *:pop3s                 *:*                     LISTEN     2                    009/couriertcpd
    tcp6       0      0 *:rsync                 *:*                     LISTEN     2                    249/rsync
    tcp6       0      0 *:pop3                  *:*                     LISTEN     1                    996/couriertcpd
    tcp6       0      0 *:imap2                 *:*                     LISTEN     1                    975/couriertcpd
    tcp6       0      0 *:www                   *:*                     LISTEN     2                    459/apache2
    tcp6       0      0 *:ssh                   *:*                     LISTEN     2                    244/sshd
    tcp6       0      0 ip6-localhost:953       *:*                     LISTEN     2                    585/named
    tcp6       0      0 *:smtp                  *:*                     LISTEN     2                    568/master
    tcp6       0      0 *:https                 *:*                     LISTEN     2                    459/apache2
    tcp6       0      0 84-16-251-18.intern:ssh p549F45EF.dip0.t-i:4807 VERBUNDEN  3                    435/sshd: [email protected]
    tcp6       0    976 84-16-251-18.intern:ssh p549F45EF.dip0.t-i:4808 VERBUNDEN  3                    440/0
     
     
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    DROP       tcp  --  anywhere             127.0.0.0/8
    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
    ACCEPT     all  --  anywhere             anywhere
    DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
    DROP       all  --  anywhere             anywhere
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    Chain INT_IN (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    Chain INT_OUT (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere
    Chain PAROLE (16 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    Chain PUB_IN (4 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere            icmp destination-unreachable
    ACCEPT     icmp --  anywhere             anywhere            icmp echo-reply
    ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded
    ACCEPT     icmp --  anywhere             anywhere            icmp echo-request
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:ftp
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:ssh
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:smtp
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:domain
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:www
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:81
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:pop3
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:https
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:10000
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:mysql
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:rsync
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:imap2
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:imaps
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:pop3s
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:https
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:https
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain
    DROP       icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    Chain PUB_OUT (4 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    If there would be anything else that I could check out for getting a solution on this..just tell me, please, what to do....

    2.nd part in next post...
     
  2. schmidtedv

    schmidtedv New Member

    Code:
    USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
    root         1  0.0  0.2  1508  520 ?        S    02:53   0:00 init [6]
    root         2  0.0  0.0     0    0 ?        S    02:53   0:00 [migration/0]
    root         3  0.0  0.0     0    0 ?        SN   02:53   0:00 [ksoftirqd/0]
    root         4  0.0  0.0     0    0 ?        S<   02:53   0:02 [events/0]
    root         5  0.0  0.0     0    0 ?        S<   02:53   0:00 [khelper]
    root         6  0.0  0.0     0    0 ?        S<   02:53   0:00 [kacpid]
    root        35  0.0  0.0     0    0 ?        S<   02:53   0:00 [kblockd/0]
    root        45  0.0  0.0     0    0 ?        S    02:53   0:00 [pdflush]
    root        46  0.0  0.0     0    0 ?        S    02:53   0:00 [pdflush]
    root        48  0.0  0.0     0    0 ?        S<   02:53   0:00 [aio/0]
    root        47  0.0  0.0     0    0 ?        S    02:53   0:00 [kswapd0]
    root       184  0.0  0.0     0    0 ?        S    02:53   0:00 [kseriod]
    root       313  0.0  0.0     0    0 ?        D    02:53   0:00 [kjournald]
    root       812  0.0  0.0     0    0 ?        S    02:53   0:00 [khubd]
    root      1940  0.0  0.3  2260  780 ?        Ss   02:53   0:00 /sbin/syslogd -a /var/lib/named/dev/l
    root      1943  0.0  0.5  2384 1492 ?        Ss   02:53   0:00 /sbin/klogd
    root      2036  0.0  0.4  2504 1224 ?        S    02:53   0:00 /bin/sh /usr/bin/mysqld_safe
    root      2072  0.0  0.4  2504 1232 ?        S    02:53   0:00 /bin/sh /usr/bin/mysqld_safe
    mysql     2073  0.0  5.6 100228 14552 ?      S    02:53   0:00 /usr/sbin/mysqld --basedir=/usr --dat
    root      2074  0.0  0.1  1488  500 ?        S    02:53   0:00 logger -p daemon.err -t mysqld_safe -
    root      2233  0.0  0.6  6556 1580 ?        Ss   02:53   0:00 /usr/sbin/saslauthd -m /var/spool/pos
    root      2234  0.0  0.6  6556 1580 ?        S    02:53   0:00 /usr/sbin/saslauthd -m /var/spool/pos
    root      2235  0.0  0.6  6556 1580 ?        S    02:53   0:00 /usr/sbin/saslauthd -m /var/spool/pos
    root      2236  0.0  0.6  6556 1580 ?        S    02:53   0:00 /usr/sbin/saslauthd -m /var/spool/pos
    root      2237  0.0  0.6  6556 1580 ?        S    02:53   0:00 /usr/sbin/saslauthd -m /var/spool/pos
    root      2244  0.0  0.5  3468 1504 ?        Ss   02:53   0:00 /usr/sbin/sshd
    root      2249  0.0  0.2  1912  656 ?        Ss   02:53   0:00 /usr/bin/rsync --daemon --config=/etc
    daemon    2262  0.0  0.2  1684  628 ?        Ss   02:53   0:00 /usr/sbin/atd
    root      2304  0.0  3.1 13204 8152 ?        Ss   02:54   0:00 /root/ispconfig/httpd/bin/ispconfig_h
    root      2305  0.0  0.4  2476 1168 ?        S    02:54   0:00 /bin/bash /root/ispconfig/sv/ispconfi
    admispc   2310  0.0  3.5 13484 9032 ?        S    02:54   0:00 /root/ispconfig/httpd/bin/ispconfig_h
    root      2459  0.0  3.8 22980 9732 ?        Ss   02:54   0:00 /usr/sbin/apache2 -k start -DSSL
    root      2495  0.0  0.1  1616  424 ?        S    02:54   0:00 /root/ispconfig/cronolog --symlink=/v
    www-data  2528  0.0  5.1 25900 13196 ?       S    02:54   0:02 /usr/sbin/apache2 -k start -DSSL
    www-data  2529  0.0  5.1 25884 13180 ?       S    02:54   0:00 /usr/sbin/apache2 -k start -DSSL
    www-data  2530  0.0  5.2 26064 13332 ?       S    02:54   0:01 /usr/sbin/apache2 -k start -DSSL
    www-data  2531  0.0  5.1 25956 13260 ?       S    02:54   0:01 /usr/sbin/apache2 -k start -DSSL
    www-data  2532  0.0  5.2 26064 13368 ?       S    02:54   0:01 /usr/sbin/apache2 -k start -DSSL
    root      2568  0.0  0.5  3668 1332 ?        Ss   02:54   0:00 /usr/lib/postfix/master
    postfix   2575  0.0  0.4  3008 1124 ?        S    02:54   0:00 qmgr -l -t fifo -u -c
    bind      2585  0.0  1.0 29436 2652 ?        Ss   02:54   0:00 /usr/sbin/named -u bind -t /var/lib/n
    nobody    2600  0.0  0.9  4772 2312 ?        Ss   02:54   0:00 proftpd: (accepting connections)
    admispc   2605  0.0  0.4  2396 1056 ?        Ss   02:54   0:00 /home/admispconfig/ispconfig/tools/cl
    www-data  2695  0.0  5.2 26108 13412 ?       S    02:55   0:02 /usr/sbin/apache2 -k start -DSSL
    admispc   2828  0.0  3.3 13240 8568 ?        S    03:01   0:00 /root/ispconfig/httpd/bin/ispconfig_h
    admispc   2863  0.0  3.5 13484 9004 ?        S    03:02   0:01 /root/ispconfig/httpd/bin/ispconfig_h
    admispc   2965  0.0  0.4  2484 1176 ?        S    03:03   0:00 sh -c cd /var/www/web3/web; /home/adm
    admispc   2966  1.2  4.4 12352 11388 ?       D    03:03   0:39 /home/admispconfig/ispconfig/tools/zi
    admispc   3049  0.0  0.4  2484 1176 ?        S    03:10   0:00 sh -c cd /var/www/web3/web; /home/adm
    admispc   3050  0.0  1.2  4416 3116 ?        D    03:10   0:01 /home/admispconfig/ispconfig/tools/zi
    admispc   3114  0.0  3.3 13220 8472 ?        S    03:14   0:00 /root/ispconfig/httpd/bin/ispconfig_h
    www-data  3228  0.0  3.9 23436 10048 ?       S    03:18   0:00 /usr/sbin/apache2 -k start -DSSL
    root      3430  0.0  0.4  2504 1224 ?        Ss   03:34   0:00 /bin/sh /etc/init.d/rc 6
    root      3440  0.0  0.8 14452 2236 ?        Ss   03:35   0:00 sshd: [email protected]/0
    root      3443  0.0  0.6  3064 1656 pts/0    Ss   03:35   0:00 -bash
    postfix   3602  0.0  0.4  2976 1096 ?        S    03:43   0:00 pickup -l -t fifo -u -c
    root      3650  0.0  0.4  2520 1256 ?        S    03:47   0:00 /bin/bash /etc/rc6.d/K20mysql stop
    root      3701  0.0  0.4  2520 1260 ?        S    03:50   0:00 /bin/bash /etc/rc6.d/K20mysql stop
    root      3702  0.0  0.5  3876 1364 ?        S    03:50   0:00 /usr/bin/mysqladmin --defaults-file=/
    root      3750  0.0  0.2  1716  512 ?        S    03:54   0:00 sleep 10
    root      3752  0.0  0.3  2496  844 pts/0    R+   03:54   0:00 ps aux
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    How high is the load on your server? Please post the output of the command "uptime".
     
  4. schmidtedv

    schmidtedv New Member

    Tja, würde ich gern...aber inzwischen, nachdem ich mittels crontab -e noch eine unnötige Erweiterung entfernt habe, kriege ich auf der Shell nur noch:

    Code:
    Using username "root".
    Last login: Fri Mar  2 03:35:34 2007 from p549f45ef.dip0.t-ipconnect.de
    84-16-251-18:~# uptime
    -bash: /usr/bin/uptime: Eingabe-/Ausgabefehler
    bzw. :

    Code:
    84-16-251-18:~# crontab -e
    /tmp/crontab.qqN9AP: Das Dateisystem ist nur lesbar
    Creation of temporary crontab file failed - aborting
    84-16-251-18:~#
    
     
    Last edited: Mar 2, 2007
  5. falko

    falko Super Moderator ISPConfig Developer

    English, please.

    It seems your disk is mounted read-only. What's the output of
    Code:
    mount
    ?
     
  6. schmidtedv

    schmidtedv New Member

    There you go...the solution was simple but not easy: The harddrive burned out...without realizing earlier I had toput on a hole new config today...well, got this server one year ago from Netdirekt...could this happen after that period of time? Maybe now systemimager becomes my best friend, hrrhrr and maybe I will ask Netdirekt for another 256MB of Ram. Now I have lost a lot of time and got a 20GB harddrive for that...should be a deal to ask for the ram too.... sh.t :)
     
  7. falko

    falko Super Moderator ISPConfig Developer

    It shouldn't, but unfortunately it's possible... :(
     

Share This Page