Hi,

I observe the performance issue of nxlog-ce in windows OS (win7 & 2008
bit64).

I use the im_file module to monitor a directory which has many text file.
If the directory has more than 3 files, the nxlog will cause high CPU
usage(70~80%, single core).
P.S. Only write one file, but there are another text file in this directory

And then I try to use im_exec to monitor specific text file.
I use tail.exe (from win2003 resource kit) in this test.
When I start nxlog service, the cpu usage become very high immediately.
(90~100%, single core)
I have not yet written anything into  this text file.
I try to use Python Script, and the script will do nothing.
The situation is the same in this case.

I don't know why the nxlog cause high cou usage.
The nxlog.log doesn't have error message.
What do I need to do to solve this problem?

Thank you very much.

Below is my setting in nxlog.conf
---------------------------------
<Input file_in>
    Module       im_file
    File         z:\\iis\\u_ex*.log
    Recursive    FALSE
    ReadFromLast TRUE
    InputType    LineBased
</Input>

<Input exec_input>
   Module        im_exec
   Command       z:\\tail.exe
   Arg           -f
   Arg           z:\\test.log
   #Command       z:\\python27\\python.exe
   #Arg           z:\\do_nothing.py
   InputType     LineBased
</Input>

<Output udp_out>
   Module      om_udp
   Host        %SYSLOGSERVER%
   Port        %SYSLOGSERVERPORT%
</Output>

<Output file_out>
   Module      om_file
   File        "z:\\456.log"
</Output>

<Route 1>
   Path        file_in => file_out
   #Path        exec_input => file_out
</Route>
----------------------------------------
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to