![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| socket close() -w- pthreads linux 2.6.18.2-34 (suse) SMP | ramen_noodle | High Level Programming | 1 | 02-06-2008 07:22 AM |
| any way to close socket | pa.chidhambaram | UNIX and Linux Applications | 3 | 02-01-2008 07:12 AM |
| Close Socket at HP-UX | Renato Gregio | HP-UX | 2 | 08-14-2007 07:04 AM |
| Socket Programming socket | soshell | High Level Programming | 2 | 06-29-2004 04:49 AM |
| C Prog to close a socket in established state | teledelux | High Level Programming | 1 | 10-03-2001 08:42 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
socket close hangs and CPU go to 100%
Hello,
I'm currently having a problem with HPUX. The application is a C app. It's a socket server. It runs mostly fine, but under some circumstances (I can not replicate it), the app hangs and the CPU goes to 100%. I have use gdb to attach to the app, and it was doing a close(). the close() system call is the one that is hanging. -------------------- (gdb) where #0 0xc00000000031a5d0:0 in _close_sys+0x30 () from /usr/lib/hpux64/libc.so.1 #1 0xc00000000032ac40:0 in close+0x140 () from /usr/lib/hpux64/libc.so.1 #2 0x4000000000053950:0 in server (soc_id=5, client_address={sin_family = 2, sin_port = 3149, sin_addr = {s_addr = 3489154679}, sin_zero = "\000\000\000\000\000\000\000"}) at src/tpswitch.c:982 #3 0x4000000000055b50:0 in main (argc=1, argv=0x9fffffffffffe8a0) at src/tpswitch.c:1244 ----------------------- The previous stack trace shows that the app is in _close_sys+0x30() from the c library. The descriptor passed to close() is a socket descriptor. Thanks in advance for your Help! |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|