ugh.. and I always thought `make check` is supposed to catch this kind of thing :S
Manas, I don't see a bug report from you - is this still an issue? If not, could you reply to this thread and explain how you cleared it all up? Thanks, -- i ----- Original Message ----- > Hi All, > I am trying to use TSTextLogObjectWrite to write logs. > Earlier the plugin was writing to traffic.out. But since traffic.out > doesn't create any versions of itself, I decided to create > a seperate log file for each plugin. > I then flush the output after writing each log using > TSTextLogObjectFlush. > However I am facing the issue when the test the following scenario- > I created a script with 5 threads. I send two same requests back to > back. The first one will be hit the origin server > while the second one will be replied back from cache. > However after running from few hours, the system crashes in log > write. It is not clear from the stack trace what is the problem. > Here is the log trace- > /usr/local/bin/traffic_server(_ZN9LogBuffer14checkout_writeEPmm+0x123)[0x5961c3] > /usr/local/bin/traffic_server(_ZN9LogObject15_checkout_writeEPmm+0x94)[0x5af8a4] > /usr/local/bin/traffic_server(_ZN9LogObject3logEP9LogAccessPc+0x2b0)[0x5b1190] > /usr/local/bin/traffic_server(_ZN13TextLogObject8va_writeEPKcP13__va_list_tag+0x8a)[0x5b15aa] > /usr/local/bin/traffic_server(TSTextLogObjectWrite+0xa2)[0x49d7e2] > /home/plugins/cnsapp.so(_ZN9CNSLogger11writeAppLogEiPKcz+0x194)[0x2aaaaebcc894] > /home/plugins/cnsapp.so(_ZN6CNSApp7requestEPP7ContextRSsP13tsapi_httptxnP10tsapi_cont+0x41)[0x2aaaaebc8bd1] > /home/plugins/cnsapp.so[0x2aaaaebd4e98] > /usr/local/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x171)[0x52e131] > /usr/local/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0xb02)[0x53a9f2] > /usr/local/bin/traffic_server(_ZN9LogBuffer14checkout_writeEPmm+0x123)[0x5961c3] > /usr/local/bin/traffic_server(_ZN9LogObject15_checkout_writeEPmm+0x94)[0x5af8a4] > /usr/local/bin/traffic_server(_ZN9LogObject3logEP9LogAccessPc+0x2b0)[0x5b1190] > /usr/local/bin/traffic_server(_ZN13TextLogObject8va_writeEPKcP13__va_list_tag+0x8a)[0x5b15aa] > /usr/local/bin/traffic_server(TSTextLogObjectWrite+0xa2)[0x49d7e2] > /home/plugins/cnsapp.so(_ZN9CNSLogger11writeAppLogEiPKcz+0x194)[0x2aaaaebcc894] > /home/plugins/cnsapp.so(_Z14null_transformP10tsapi_cont7TSEventPv+0x8f)[0x2aaaaebc304f] > /usr/local/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x22f)[0x6b9b5f] > /usr/local/bin/traffic_server(_ZN7EThread7executeEv+0x1aa)[0x6ba05a] > /usr/local/bin/traffic_server[0x6b8fae] > /lib64/libpthread.so.0[0x3912e0673d] > Any idea why this is happening after 3-4 hrs of pluggin running. > Regards, > Manas -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: [email protected] URL: http://brainsware.org/ GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE
