Re: PERFORMANCE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Le Jeudi 18 Avril 2002 21:54, valeria@xxxxxxxxxxxxxxxxxx a écrit :
> Top result when the server is almost stoping ...
>
> 4:19pm  up 2 days,  3:04,  2 users,  load average: 4.26, 4.06, 4.59
> 102 processes: 96 sleeping, 6 running, 0 zombie, 0 stopped
> CPU0 states: 83.0% user, 15.0% system,  0.0% nice,  0.1% idle
> CPU1 states: 82.0% user, 16.0% system,  0.0% nice,  0.1% idle
> Mem:  771384K av, 699676K used,  71708K free,       0K shrd,    6488K buff
> Swap:  522232K av,   77420K used,  444812K free

Load avarage is 4.26. A large query seems to overflow the system.
Type command "top" to make sure PostgreSQL is really at stake.

Then, modify /etc/init.d/postgresql to run PostgreSQL in debug mode:
postmaster ... -d debug-level 

Restart PostgreSQL service entering: 
"service postgresql restart"

This will log all queries and may help you understand what is going on.

Best regards,
Jean-Michel POURE


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux