Re: session wait fun

  • From: Jared Still <jkstill@xxxxxxxxx>
  • To: John D Parker <orclwzrd@xxxxxxxxx>
  • Date: Sat, 18 Jan 2014 16:51:52 -0800

Just wondering if you had an opportunity to trace a session.

It would be interesting to find know what the problem turned out to be.

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
Sr Oracle DBA at Pythian
Pythian Blog http://www.pythian.com/blog/author/still/
Oracle Blog: http://jkstill.blogspot.com
Home Page: http://jaredstill.com


On Fri, Jan 10, 2014 at 6:16 AM, Jared Still <jkstill@xxxxxxxxx> wrote:

> strace -o <tracefile_name> -f -T -ttt -p <PID>
>
> -T shows time spent in system call
> -ttt shows current time as epoch.microseconds
>
> Running the strace for 15 seconds or so should be sufficient.
>
>
>
> Jared Still
> Certifiable Oracle DBA and Part Time Perl Evangelist
> Sr Oracle DBA at Pythian
> Pythian Blog http://www.pythian.com/blog/author/still/
> Oracle Blog: http://jkstill.blogspot.com
> Home Page: http://jaredstill.com
>
>
> On Thu, Jan 9, 2014 at 8:43 PM, John D Parker <orclwzrd@xxxxxxxxx> wrote:
>
>> ok, strace is back on the table. any suggested favorite switches.
>>
>>    ------------------------------
>>  *From:* Jared Still <jkstill@xxxxxxxxx>
>> *To:* John D Parker <orclwzrd@xxxxxxxxx>
>> *Cc:* oracle-l <oracle-l@xxxxxxxxxxxxx>
>> *Sent:* Thursday, January 9, 2014 9:22 PM
>>
>> *Subject:* Re: session wait fun
>>
>>
>> On Tue, Jan 7, 2014 at 9:54 AM, John D Parker <orclwzrd@xxxxxxxxx> wrote:
>>
>> I'm getting session waits of 16070 days.
>>
>>
>> It would be interesting to see an strace on one of the affected session.s
>>
>> Most interested in seeing the times() and gettimeofday() calls.
>>
>> I know you sated you do not want to strace, but if you want to find the
>> root cause...
>>
>> There were a number of bugs with times() in 10.2.x that caused some
>> weirdness.
>>
>> Jared Still
>> Certifiable Oracle DBA and Part Time Perl Evangelist
>> Sr Oracle DBA at Pythian
>> Pythian Blog http://www.pythian.com/blog/author/still/
>> Oracle Blog: http://jkstill.blogspot.com
>> Home Page: http://jaredstill.com
>>
>>
>>
>

Other related posts: