[stgt] help tgt segfault

ronnie sahlberg ronniesahlberg at gmail.com
Fri Dec 12 11:48:55 CET 2008


You can also install Tridge's segv handler :
http://samba.org/ftp/unpacked/junkcode/segv_handler/


It is a very useful utility!

regards
ronnie sahlberg

On Fri, Dec 12, 2008 at 9:27 PM, Mark Harvey <markh794 at gmail.com> wrote:
> Hi Jesse,
>
> My 2c worth on trouble-shooting tgtd segfaults....
>
> 1. Make sure core files size is set correctly :)
> # ulimit -c unlimited
>
> 2. Run tgtd in the foreground
> # ./tgtd -d 1 -f (use 'screen')
>
> 3. Once tgtd segfaults, you at least have a core file to run gdb against...
>
> I've yet to have tgtd generate a core file when running in background.
>
> Cheers
> Mark
>
> On Fri, Dec 12, 2008 at 2:58 AM, Jesse Nelson <spheromak at gmail.com> wrote:
>> were running vanila 2.6.27.4 kern with  tgt 0.9.2   with about 30
>> targets and about 10mb/s throughput
>> i am constantly (daily) seeing tgtd segfault. no real deep info just
>> this error in the logs:
>>    segfault at 8 ip 000000000040ebed sp 00007fffb259cb30 error 6 in
>> tgtd[400000+23000]
>> any ideas or suggestions how i can dig deeper here ?
>> --
>> To unsubscribe from this list: send the line "unsubscribe stgt" in
>> the body of a message to majordomo at vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe stgt" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list