Question High cpu usage with Timers object

massrex

New member
Joined
Apr 20, 2010
Messages
1
Programming Experience
10+
Hi,
I have a windows Service that uses 30 timers (fired every half second) to elaborate some requests. I am experiencing a problem on both my production server and my development pc: the cpu usage of those machines are near to 100%.

To investigate the issue, I have tried to comment every actions performed in the elapsed events of the timers (System.Timers.Timer) in order to let the timers to be just fired without any actions, but the cpu usage remains high for a windows service that do nothing: 10% of the overall cpu.

Does anyone know if there are some limitation in timers using?
What can I do to improve the performance?
Thanks in advance.
 
Back
Top