Results 1 to 15 of 15

Thread: Load spikes with php72-fpm

  1. #1
    Join Date
    Jun 2016
    Posts
    12

    Lightbulb Load spikes with php72-fpm

    Hi,

    I updated one of our servers to php72-fpm last week.
    Before it was mod_php with 5.6.

    Since the update the load suddenly spikes every now and then.
    Sometimes it is once an hour, sometimes once a day.
    The load shoots to 8 or 12 and then decreases again very rapid.

    It's really bugging me since I can't seem to figure out what is happening.
    The logs don't show strange things, with top there seems to be no process which could cause this.
    Do you guys have any idea what this could be?

    Need more info?
    Please let me know what you want.

    Thanks in advance,
    Stephan

  2. #2
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,654
    I get this too, but only lasts seconds....... Noticeably when Twitter polls for their card updates....... eg. up to about 200 connections at once.

  3. #3
    Join Date
    Jun 2016
    Posts
    12
    Yes, it is just a couple of seconds.
    In my servermonitoring tool the load just suddenly spikes, vertical line in my graph.

    I don't think it has something to do with twitter in my case...
    I don't believe I've used that on any of the sites currently on there.

  4. #4
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,654
    If you don't already, do you use
    Code:
    check_load=35
    check_load_minute=1
    in your directadmin.conf...... Might be useful to add, it'll email you a snapshot of top once your load reaches the check_load trigger - it'll also list the highest connections by IP... This information might help.

  5. #5
    Join Date
    Jun 2016
    Posts
    12
    I've never seen this feature, sounds cool!
    I've added it to the conf, hopefully it is as useful as it sounds!

  6. #6
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,654
    https://www.directadmin.com/features.php?id=1088

    It's actually set at 10 by default....... Maybe your load doesn't reach that when it happens..... You could set it lower than 10.....

  7. #7
    Join Date
    Jun 2016
    Posts
    12
    Yeah, I found the feature!
    I've let it at 10 so hopefully the output is usefull...

  8. #8
    Join Date
    Jun 2016
    Posts
    12
    The first mail is in!
    I'm not seeing why the load should be over 10...

    Code:
    This is an automated message notifying you that the 1 minute load average on your system is 10.62.
    This has exceeded the 10 threshold.
    
    One Minute      - 10.62
    Five Minutes    - 2.63
    Fifteen Minutes - 0.94
    
    top - 15:44:01 up 1 day, 25 min,  1 user,  load average: 10.62, 2.63, 0.94
    Tasks: 202 total,   1 running, 201 sleeping,   0 stopped,   0 zombie
    %Cpu(s): 19.4 us, 19.4 sy,  0.0 ni, 61.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
    KiB Mem :  2047848 total,    96652 free,   801600 used,  1149596 buff/cache
    KiB Swap:  2097148 total,  1929212 free,   167936 used.   937688 avail Mem 
    
     PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
    23754 apache    20   0 2424816  35740   4772 S  25.0  1.7   1:09.39 /usr/sbin/httpd -DFOREGROUND
     476 root      20   0   40232   4056   3896 S   6.2  0.2   0:11.16 /usr/lib/systemd/systemd-journald
     634 dbus      20   0   58824   2240   1376 S   6.2  0.1   0:26.91 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
     968 root      20   0   58384   2128   1464 R   6.2  0.1   0:00.01 /usr/bin/top -c -b -n 1
    23751 apache    20   0 2555608  35412   5388 S   6.2  1.7   1:01.52 /usr/sbin/httpd -DFOREGROUND
       1 root      20   0  190984   3212   2020 S   0.0  0.2   0:25.10 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
       2 root      20   0       0      0      0 S   0.0  0.0   0:00.01 [kthreadd]
       3 root      20   0       0      0      0 S   0.0  0.0   0:02.41 [ksoftirqd/0]
       5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 [kworker/0:0H]
       7 root      rt   0       0      0      0 S   0.0  0.0   0:00.03 [migration/0]
       8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 [rcu_bh]
       9 root      20   0       0      0      0 S   0.0  0.0   0:05.36 [rcu_sched]
      10 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 [lru-add-drain]
      11 root      rt   0       0      0      0 S   0.0  0.0   0:00.30 [watchdog/0]
      12 root      rt   0       0      0      0 S   0.0  0.0   0:00.22 [watchdog/1]
      13 root      rt   0       0      0      0 S   0.0  0.0   0:00.03 [migration/1]
      14 root      20   0       0      0      0 S   0.0  0.0   0:02.26 [ksoftirqd/1]
      16 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 [kworker/1:0H]
      18 root      20   0       0      0      0 S   0.0  0.0   0:00.00 [kdevtmpfs]
      19 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 [netns]
      20 root      20   0       0      0      0 S   0.0  0.0   0:00.07 [khungtaskd]
      21 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 [writeback]
      22 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 [kintegrityd]
    
    Connection counts:
         1 143.179.7.251
         1 185.30.204.153
         1 220.181.108.112
         1 31.200.209.174
         4 159.46.196.20
         5 82.74.223.63
         8 217.103.76.160
        10 83.80.24.164
        10 95.211.23.5
    
    IP '95.211.23.5' currently has '10' connections
    
    Connection info for '95.211.23.5':
    tcp6       0      0 31.200.209.188:443      95.211.23.5:38036       FIN_WAIT2  
    tcp6       0      0 31.200.209.188:443      95.211.23.5:21627       FIN_WAIT2  
    tcp6       0      0 31.200.209.188:443      95.211.23.5:20202       FIN_WAIT2  
    tcp6       0      0 31.200.209.188:443      95.211.23.5:5268        FIN_WAIT2  
    tcp6       0      0 31.200.209.188:443      95.211.23.5:34030       FIN_WAIT2  
    tcp6       0      0 31.200.209.188:443      95.211.23.5:41763       FIN_WAIT2  
    tcp6       0      0 31.200.209.188:443      95.211.23.5:37370       FIN_WAIT2  
    tcp6       0      0 31.200.209.188:443      95.211.23.5:11810       FIN_WAIT2  
    tcp6       0      0 31.200.209.188:443      95.211.23.5:22118       FIN_WAIT2  
    tcp6       0      0 31.200.209.188:443      95.211.23.5:58424       FIN_WAIT2  
    
    /usr/sbin/ss output:
    Netid  State      Recv-Q Send-Q Local Address:Port               Peer Address:Port              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18544                 * 18541              
    u_str  ESTAB      0      0         * 18450                 * 18429              
    u_str  ESTAB      0      0         * 18311                 * 18406              
    u_str  ESTAB      0      0      /var/lib/mysql/mysql.sock 1166561               * 1166560            
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 554541                * 554540             
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19498                 * 18585              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 12642                 * 13721              
    u_str  ESTAB      0      0         * 18541                 * 18544              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 554543                * 555468             
    u_str  ESTAB      0      0      /var/run/dovecot/anvil-auth-penalty 19504                 * 19503              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18431                 * 18452              
    u_str  ESTAB      0      0         * 18584                 * 19496              
    u_str  ESTAB      0      0      /var/run/dovecot/config 19479                 * 18460              
    u_str  ESTAB      0      0         * 18543                 * 19540              
    u_str  ESTAB      0      0         * 1097348               * 1097796            
    u_str  ESTAB      0      0         * 18585                 * 19498              
    u_str  ESTAB      0      0         * 18460                 * 19479              
    u_str  ESTAB      0      0         * 565148                * 565147             
    u_str  ESTAB      0      0         * 18452                 * 18431              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18424                 * 18448              
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19496                 * 18584              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 554544                * 555470             
    u_str  ESTAB      0      0         * 18448                 * 18424              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 555449                * 554458             
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19540                 * 18543              
    u_str  ESTAB      0      0         * 555462                * 554535             
    u_str  ESTAB      0      0         * 18329                 * 19475              
    u_str  ESTAB      0      0         * 18502                 * 18505              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 16074                 * 16073              
    u_str  ESTAB      0      0         * 18548                 * 18562              
    u_str  ESTAB      0      0         * 18326                 * 19458              
    u_str  ESTAB      0      0         * 555459                * 554534             
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19500                 * 18586              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18476                 * 18475              
    u_str  ESTAB      0      0      /var/run/dovecot/config 19458                 * 18326              
    u_str  ESTAB      0      0         * 14625                 * 14643              
    u_str  ESTAB      0      0      /var/run/dovecot/config 1097796               * 1097348            
    u_str  ESTAB      0      0         * 18586                 * 19500              
    u_str  ESTAB      0      0         * 18475                 * 18476              
    u_str  ESTAB      0      0         * 18385                 * 19532              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18416                 * 18314              
    u_str  ESTAB      0      0         * 986912                * 986913             
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19499                 * 19480              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18410                 * 18446              
    u_str  ESTAB      0      0         * 18455                 * 19476              
    u_str  ESTAB      0      0         * 565146                * 565145             
    u_str  ESTAB      0      0         * 555460                * 555463             
    u_str  ESTAB      0      0         * 18315                 * 18418              
    u_str  ESTAB      0      0         * 986910                * 986911             
    u_str  ESTAB      0      0         * 18446                 * 18410              
    u_str  ESTAB      0      0      /var/run/dovecot/config 554534                * 555459             
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19545                 * 18561              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 555463                * 555460             
    u_str  ESTAB      0      0      /var/run/dovecot/config 18413                 * 18313              
    u_str  ESTAB      0      0         * 14641                 * 14642              
    u_str  ESTAB      0      0         * 19503                 * 19504              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19522                 * 18357              
    u_str  ESTAB      0      0         * 18561                 * 19545              
    u_str  ESTAB      0      0      /var/run/dovecot/config 19476                 * 18455              
    u_str  ESTAB      0      0         * 565145                * 565146             
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 554535                * 555462             
    u_str  ESTAB      0      0         * 18314                 * 18416              
    u_str  ESTAB      0      0         * 1166560               * 1166561            
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18505                 * 18502              
    u_str  ESTAB      0      0         * 16073                 * 16074              
    u_str  ESTAB      0      0         * 554460                * 555450             
    u_str  ESTAB      0      0      /var/run/dovecot/config 18423                 * 18316              
    u_str  ESTAB      0      0      /run/dbus/system_bus_socket 14643                 * 14625              
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 986913                * 986912             
    u_str  ESTAB      0      0      /var/run/dovecot/config 18432                 * 18453              
    u_str  ESTAB      0      0         * 18232                 * 18370              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 555450                * 554460             
    u_str  ESTAB      0      0         * 555470                * 554544             
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18520                 * 18383              
    u_str  ESTAB      0      0         * 14642                 * 14641              
    u_str  ESTAB      0      0         * 554536                * 554537             
    u_str  ESTAB      0      0      /var/run/dovecot/config 18406                 * 18311              
    u_str  ESTAB      0      0         * 18453                 * 18432              
    u_str  ESTAB      0      0         * 13721                 * 12642              
    u_str  ESTAB      0      0         * 18383                 * 18520              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18418                 * 18315              
    u_str  ESTAB      0      0         * 554538                * 555465             
    u_str  ESTAB      0      0         * 554540                * 554541             
    u_str  ESTAB      0      0         * 18454                 * 19470              
    u_str  ESTAB      0      0         * 565147                * 565148             
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19532                 * 18385              
    u_str  ESTAB      0      0         * 18316                 * 18423              
    u_str  ESTAB      0      0      /var/run/dovecot/config 986911                * 986910             
    u_str  ESTAB      0      0      /var/run/dovecot/config 554537                * 554536             
    u_str  ESTAB      0      0      /var/run/dovecot/config 18391                 * 18441              
    u_str  ESTAB      0      0      /var/run/dovecot/config 19470                 * 18454              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18370                 * 18232              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 776399                * 776398             
    u_str  ESTAB      0      0         * 18400                 * 19538              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 554453                * 555445             
    u_str  ESTAB      0      0         * 18559                 * 18565              
    u_str  ESTAB      0      0         * 15465                 * 15466              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19533                 * 18523              
    u_str  ESTAB      0      0      /var/lib/mysql/mysql.sock 1166570               * 1165801            
    u_str  ESTAB      0      0      /var/run/dovecot/auth-userdb 932644                * 932643             
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18565                 * 18559              
    u_str  ESTAB      0      0         * 18523                 * 19533              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18540                 * 18407              
    u_str  ESTAB      0      0         * 971322                * 971323             
    u_str  ESTAB      0      0      /var/run/dovecot/config 18353                 * 18229              
    u_str  ESTAB      0      0      /var/run/dovecot/config 1111178               * 1112266            
    u_str  ESTAB      0      0         * 18558                 * 19544              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18534                 * 18528              
    u_str  ESTAB      0      0         * 17641                 * 16823              
    u_str  ESTAB      0      0         * 15684                 * 15685              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 775640                * 776396             
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19538                 * 18400              
    u_str  ESTAB      0      0         * 1165806               * 1166572            
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19544                 * 18558              
    u_str  ESTAB      0      0         * 18512                 * 18516              
    u_str  ESTAB      0      0         * 18528                 * 18534              
    u_str  ESTAB      0      0      /var/run/dovecot/config 973637                * 973636             
    u_str  ESTAB      0      0         * 18407                 * 18540              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18525                 * 18388              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18564                 * 18556              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18516                 * 18512              
    u_str  ESTAB      0      0         * 15466                 * 15465              
    u_str  ESTAB      0      0         * 18530                 * 19536              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18429                 * 18450              
    u_str  ESTAB      0      0      /var/run/dovecot/config 776395                * 776394             
    u_str  ESTAB      0      0         * 18388                 * 18525              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 554454                * 555447             
    u_str  ESTAB      0      0         * 33230                 * 33231              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19539                 * 18409              
    u_str  ESTAB      0      0         * 18390                 * 19534              
    u_str  ESTAB      0      0         * 18229                 * 18353              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 1112271               * 1112269            
    u_str  ESTAB      0      0         * 18514                 * 19530              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18481                 * 18355              
    u_str  ESTAB      0      0         * 18409                 * 19539              
    u_str  ESTAB      0      0         * 1112266               * 1111178            
    u_str  ESTAB      0      0         * 18556                 * 18564              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19530                 * 18514              
    u_str  ESTAB      0      0         * 33231                 * 33230              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19536                 * 18530              
    u_str  ESTAB      0      0         * 18355                 * 18481              
    u_str  ESTAB      0      0         * 555466                * 555467             
    u_str  ESTAB      0      0         * 1112267               * 1112270            
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19493                 * 18554              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 15685                 * 15684              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19534                 * 18390              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19528                 * 18375              
    u_str  ESTAB      0      0         * 19461                 * 19464              
    u_str  ESTAB      0      0         * 1112269               * 1112271            
    u_str  ESTAB      0      0         * 18504                 * 19527              
    u_str  ESTAB      0      0         * 18433                 * 18349              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 16823                 * 17641              
    u_str  ESTAB      0      0      /var/run/dovecot/config 1130911               * 1131947            
    u_str  ESTAB      0      0         * 776394                * 776395             
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18508                 * 18373              
    u_str  ESTAB      0      0         * 1165801               * 1166570            
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19541                 * 18427              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19527                 * 18504              
    u_str  ESTAB      0      0         * 15734                 * 15735              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 1130912               * 1131948            
    u_str  ESTAB      0      0         * 776396                * 775640             
    u_str  ESTAB      0      0         * 18375                 * 19528              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18350                 * 18228              
    u_str  ESTAB      0      0         * 18554                 * 19493              
    u_str  ESTAB      0      0         * 18411                 * 19487              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 555465                * 554538             
    u_str  ESTAB      0      0         * 1131948               * 1130912            
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 973639                * 973638             
    u_str  ESTAB      0      0      /var/run/dovecot/config 971323                * 971322             
    u_str  ESTAB      0      0         * 19463                 * 19546              
    u_str  ESTAB      0      0         * 18760                 * 19763              
    u_str  ESTAB      0      0         * 18414                 * 19488              
    u_str  ESTAB      0      0         * 18521                 * 18524              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 17007                 * 17767              
    u_str  ESTAB      0      0         * 1131947               * 1130911            
    u_str  ESTAB      0      0         * 973638                * 973639             
    u_str  ESTAB      0      0      /var/lib/mysql/mysql.sock 1166572               * 1165806            
    u_str  ESTAB      0      0         * 555447                * 554454             
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19546                 * 19463              
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19487                 * 18411              
    u_str  ESTAB      0      0         * 17767                 * 17007              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 15735                 * 15734              
    u_str  ESTAB      0      0         * 776398                * 776399             
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18537                 * 18398              
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 971325                * 971324             
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 19464                 * 19461              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 15849                 * 15848              
    u_str  ESTAB      0      0         * 973636                * 973637             
    u_str  ESTAB      0      0         * 18398                 * 18537              
    u_str  ESTAB      0      0         * 18373                 * 18508              
    u_str  ESTAB      0      0         * 971324                * 971325             
    u_str  ESTAB      0      0         * 18228                 * 18350              
    u_str  ESTAB      0      0         * 932643                * 932644             
    u_str  ESTAB      0      0      /run/dbus/system_bus_socket 19763                 * 18760              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18524                 * 18521              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 1112270               * 1112267            
    u_str  ESTAB      0      0         * 555443                * 555444             
    u_str  ESTAB      0      0         * 18420                 * 19490              
    u_str  ESTAB      0      0         * 17919                 * 17049              
    u_str  ESTAB      0      0      /run/dbus/system_bus_socket 15183                 * 15182              
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19490                 * 18420              
    u_str  ESTAB      0      0         * 18495                 * 18498              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18386                 * 18235              
    u_str  ESTAB      0      0         * 12637                 * 12638              
    u_str  ESTAB      0      0         * 33220                 * 0                  
    u_str  ESTAB      0      0         * 18422                 * 19491              
    u_str  ESTAB      0      0         * 18484                 * 19523              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 17049                 * 17919              
    u_str  ESTAB      0      0      /run/dbus/system_bus_socket 14644                 * 14632              
    u_str  ESTAB      0      0      /var/lib/mysql/mysql.sock 1165814               * 1165813            
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19491                 * 18422              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19523                 * 18484              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18378                 * 18234              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 926894                * 926519             
    u_str  ESTAB      0      0         * 33226                 * 33227              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 12638                 * 12637              
    u_str  ESTAB      0      0         * 1166569               * 1166571            
    u_str  ESTAB      0      0         * 18425                 * 18546              
    u_str  ESTAB      0      0         * 18497                 * 19525              
    u_str  ESTAB      0      0         * 18313                 * 18413              
    u_str  ESTAB      0      0         * 18235                 * 18386              
    u_str  ESTAB      0      0         * 14731                 * 15851              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 1097349               * 1097799            
    u_str  ESTAB      0      0         * 15182                 * 15183              
    u_str  ESTAB      0      0      /var/lib/mysql/mysql.sock 1166571               * 1166569            
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18546                 * 18425              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19525                 * 18497              
    u_str  ESTAB      0      0         * 1097797               * 1097800            
    u_str  ESTAB      0      0         * 1165813               * 1165814            
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18498                 * 18495              
    u_str  ESTAB      0      0         * 18237                 * 18396              
    u_str  ESTAB      0      0         * 926519                * 926894             
    u_str  ESTAB      0      0      /var/run/dovecot/config 18397                 * 18242              
    u_str  ESTAB      0      0         * 18312                 * 18412              
    u_str  ESTAB      0      0         * 18427                 * 19541              
    u_str  ESTAB      0      0         * 18242                 * 18397              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18348                 * 17408              
    u_str  ESTAB      0      0         * 1165484               * 1165284            
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19488                 * 18414              
    u_str  ESTAB      0      0         * 18234                 * 18378              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 1130913               * 1131950            
    u_str  ESTAB      0      0         * 17408                 * 18348              
    u_str  ESTAB      0      0         * 554458                * 555449             
    u_str  ESTAB      0      0         * 18482                 * 18485              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 1097800               * 1097797            
    u_str  ESTAB      0      0         * 555468                * 554543             
    u_str  ESTAB      0      0         * 33229                 * 33228              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18334                 * 17407              
    u_str  ESTAB      0      0      /run/dbus/system_bus_socket 14928                 * 16240              
    u_str  ESTAB      0      0         * 1040876               * 1040877            
    u_str  ESTAB      0      0      /var/run/dovecot/config 555444                * 555443             
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19521                 * 18478              
    u_str  ESTAB      0      0         * 14632                 * 14644              
    u_str  ESTAB      0      0         * 16240                 * 14928              
    u_str  ESTAB      0      0         * 1040877               * 1040876            
    u_str  ESTAB      0      0         * 555445                * 554453             
    u_str  ESTAB      0      0         * 18417                 * 19489              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18485                 * 18482              
    u_str  ESTAB      0      0         * 1097799               * 1097349            
    u_str  ESTAB      0      0      /var/run/dovecot/config 19475                 * 18329              
    u_str  ESTAB      0      0      /run/dbus/system_bus_socket 14950                 * 16242              
    u_str  ESTAB      0      0         * 18550                 * 19542              
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19489                 * 18417              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18396                 * 18237              
    u_str  ESTAB      0      0         * 33228                 * 33229              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18333                 * 17406              
    u_str  ESTAB      0      0         * 16242                 * 14950              
    u_str  ESTAB      0      0      /var/lib/mysql/mysql.sock 1165284               * 1165484            
    u_str  ESTAB      0      0         * 19477                 * 19497              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19542                 * 18550              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18412                 * 18312              
    u_str  ESTAB      0      0         * 17406                 * 18333              
    u_str  ESTAB      0      0         * 19480                 * 19499              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18562                 * 18548              
    u_str  ESTAB      0      0         * 17407                 * 18334              
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19497                 * 19477              
    u_str  ESTAB      0      0         * 33227                 * 33226              
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 933375                * 933374             
    u_str  ESTAB      0      0         * 18465                 * 18468              
    u_str  ESTAB      0      0         * 1131950               * 1130913            
    u_str  ESTAB      0      0      /var/run/dovecot/config 18382                 * 18440              
    u_str  ESTAB      0      0      /var/run/dovecot/auth-userdb 953512                * 953511             
    u_str  ESTAB      0      0         * 18344                 * 19517              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18468                 * 18465              
    u_str  ESTAB      0      0         * 18441                 * 18391              
    u_str  ESTAB      0      0         * 18463                 * 18464              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18376                 * 18439              
    u_str  ESTAB      0      0         * 18352                 * 19486              
    u_str  ESTAB      0      0         * 969385                * 969386             
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18464                 * 18463              
    u_str  ESTAB      0      0         * 15848                 * 15849              
    u_str  ESTAB      0      0      /var/run/dovecot/config 555467                * 555466             
    u_str  ESTAB      0      0         * 18440                 * 18382              
    u_str  ESTAB      0      0      /var/lib/mysql/mysql.sock 1165298               * 1165297            
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19517                 * 18344              
    u_str  ESTAB      0      0      /var/run/dovecot/auth-userdb 969386                * 969385             
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19518                 * 18467              
    u_str  ESTAB      0      0         * 17191                 * 17192              
    u_str  ESTAB      0      0         * 933374                * 933375             
    u_str  ESTAB      0      0         * 18469                 * 18471              
    u_str  ESTAB      0      0         * 18439                 * 18376              
    u_str  ESTAB      0      0      /var/run/dovecot/stats-writer 19486                 * 18352              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18366                 * 18437              
    u_str  ESTAB      0      0         * 18357                 * 19522              
    u_str  ESTAB      0      0         * 18467                 * 19518              
    u_str  ESTAB      0      0         * 18472                 * 19519              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18359                 * 18436              
    u_str  ESTAB      0      0      /var/run/dovecot/config 19478                 * 18330              
    u_str  ESTAB      0      0      /var/run/dovecot/config 932554                * 933373             
    u_str  ESTAB      0      0         * 19657                 * 19658              
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19519                 * 18472              
    u_str  ESTAB      0      0         * 18437                 * 18366              
    u_str  ESTAB      0      0         * 1165297               * 1165298            
    u_str  ESTAB      0      0         * 18330                 * 19478              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18471                 * 18469              
    u_str  ESTAB      0      0      /var/run/dovecot/config 18354                 * 18435              
    u_str  ESTAB      0      0         * 18436                 * 18359              
    u_str  ESTAB      0      0         * 953511                * 953512             
    u_str  ESTAB      0      0      /var/run/dovecot/login/login 19520                 * 18474              
    u_str  ESTAB      0      0         * 554456                * 554457             
    u_str  ESTAB      0      0      /var/run/dovecot/config 18351                 * 18434              
    u_str  ESTAB      0      0      /var/run/dovecot/anvil 18462                 * 18342              
    u_str  ESTAB      0      0         * 933373                * 932554             
    u_str  ESTAB      0      0         * 18478                 * 19521              
    u_str  ESTAB      0      0         * 18435                 * 18354              
    u_str  ESTAB      0      0         * 17192                 * 17191              
    u_str  ESTAB      0      0         * 18342                 * 18462              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 15851                 * 14731              
    u_str  ESTAB      0      0      /var/run/dovecot/config 554457                * 554456             
    u_str  ESTAB      0      0      /var/run/dovecot/config 18349                 * 18433              
    u_str  ESTAB      0      0      /run/systemd/journal/stdout 19658                 * 19657              
    u_str  ESTAB      0      0         * 18474                 * 19520              
    u_str  ESTAB      0      0         * 18434                 * 18351              
    tcp    ESTAB      0      0      31.200.209.188:22                 83.80.24.164:37757              
    tcp    ESTAB      0      0      31.200.209.188:22                 83.80.24.164:36808              
    tcp    ESTAB      0      0      31.200.209.188:22                 83.80.24.164:63453              
    tcp    ESTAB      0      0      31.200.209.188:22                 83.80.24.164:36803              
    tcp    ESTAB      0      0      31.200.209.188:22                 83.80.24.164:35955              
    tcp    ESTAB      0      0      31.200.209.188:22                 83.80.24.164:63786              
    tcp    ESTAB      0      0      31.200.209.188:22                 83.80.24.164:43722              
    tcp    ESTAB      0      0      31.200.209.188:52758              31.200.209.174:4206               
    tcp    ESTAB      0      0      31.200.209.188:22                 83.80.24.164:33081              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:38036              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:80                    ::ffff:217.103.76.160:54057              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:21627              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:80                    ::ffff:217.103.76.160:54053              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:80                    ::ffff:217.103.76.160:54052              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:20202              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:80                    ::ffff:217.103.76.160:54055              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:5268               
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:34030              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:41763              
    tcp    ESTAB      0      0         ::ffff:31.200.209.188:3306                ::ffff:83.80.24.164:64739              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:80                    ::ffff:217.103.76.160:54054              
    tcp    ESTAB      0      0         ::ffff:31.200.209.188:3306                ::ffff:83.80.24.164:63424              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:37370              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:11810              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:22118              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:80                    ::ffff:217.103.76.160:54056              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:80                    ::ffff:217.103.76.160:54060              
    tcp    FIN-WAIT-2 0      0         ::ffff:31.200.209.188:443                  ::ffff:95.211.23.5:58424              
    tcp    ESTAB      0      0         ::ffff:31.200.209.188:443                  ::ffff:220.181.108.112:49202

  9. #9
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,654
    By the looks of that, it's not php-fpm, as you'll see fpm processes listed under the user...... It's something to do with apache....

  10. #10
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,654
    And if it was under fpm, you'll have an easier indication of the account that's generating the load so you can investigate

  11. #11
    Join Date
    Jun 2016
    Posts
    12
    It is php-fpm, it doesn't show in this dump, could it be there were no connections at that particular moment?
    When I watch top from ssh it shows fpm processes as wel as httpd processes.

    Any other ideas on how to debug the issue?

  12. #12
    Join Date
    Jun 2016
    Posts
    12
    Maybe this is something...
    I've got a cron which is running every minute (*/1).
    On the server-status page, this cron appears 8 times.
    I've got a couple of the crons for different sites, they all seem to be present multiple times.
    Could it be that these processes remain open to long somehow and are getting killed in the load spikes (just a longshot)?

  13. #13
    Join Date
    Jun 2016
    Posts
    12
    Anyone got any suggestions on how to find out what is going on?

  14. #14
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,654
    Keep a shell open with top running (with 1 second delay)..... That way you'll see the process of high load when it happens......

  15. #15
    Join Date
    Jun 2016
    Posts
    12
    That's just it...
    I don't see anything weird on those moments...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •