question

vivekchandra09 avatar image
vivekchandra09 asked

nagios alert:CRITICAL: Log Flush Wait Time is 109.0ms

other errors from Naggios: CRITICAL: Page Writes / Sec is 3203.91231658/sec CRITICAL: Page Reads / Sec is 2696.86653994/sec What to do in this case.
error-logpage
4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

vivekchandra09 avatar image vivekchandra09 commented ·
CRITICAL: Lazy Writes / Sec is 107.020602628/sec
0 Likes 0 ·
vivekchandra09 avatar image vivekchandra09 commented ·
CRITICAL: Page Reads / Sec is 3185.56647372/sec
0 Likes 0 ·
David Wimbush avatar image David Wimbush commented ·
What do these counters normally look like?
0 Likes 0 ·
vivekchandra09 avatar image vivekchandra09 commented ·
page reads per sec (warning): 498.527 / sec readaheads per sec (warning) 39.48
0 Likes 0 ·

1 Answer

·
Magnus Ahlkvist avatar image
Magnus Ahlkvist answered
Without knowing more about your system, I'd guestimate that you have a SQL Server which is very busy. Lots of page reads and lots of page writes indicates this. This is either because you have tons of transactions going on, or because there are weaknesses in the database code, causing the server to be busy Reading and writing from/to disk. There are loads of suggestions to ease up your server's disk activity, but they all depend on what is going on and why it is going on. Looking only at disk activity is not enough.
3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

vivekchandra09 avatar image vivekchandra09 commented ·
So I ran a query: SELECT AVG(current_tasks_count) AS [Avg Task Count] , AVG(runnable_tasks_count) AS [Avg Runnable Task Count] FROM sys.dm_os_schedulers WHERE scheduler_id < 255 AND [status] = 'VISIBLE ONLINE' ; -------------------- Avg Task Count Avg Runnable Task Count 17 0
0 Likes 0 ·
vivekchandra09 avatar image vivekchandra09 commented ·
which tells me that system is stressed (as avg task count is more than 10. However, how to make it less stressed?
0 Likes 0 ·
Magnus Ahlkvist avatar image Magnus Ahlkvist commented ·
Only you know what activity is going on in your database. Run a trace against the machine to find out. It could be many users, it could be jobs affecting the server, it could be poorly written code. It could be poor database design. It could be a combination of the above. Noone but you knows exactly what is going on in your system.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.