LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > LSWS 4.1 Release > 4.1rc2

Reply
 
Thread Tools Display Modes
  #31  
Old 02-03-2010, 04:47 AM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
freebsd version has problem with libpthread.so

i have fbsd 7 when i try use libpthread.so from that system it wont works (in 4.0 it wasn't needed)
(after adding alias in libmap.conf

root@core2:~/lsws-4.1RC2# cat /etc/libmap.conf
libcrypt.so.3 libcrypt.so.4
libm.so.4 libm.so.5
libc.so.6 libc.so.7
libpthread.so.2 libpthread.so

(other libs works ok becous they are used in litespeed 4.0)

/libexec/ld-elf.so.1: /usr/lib/libpthread.so: version LIBTHREAD_1_0 required by bin/lshttpd not found



When i install freebsd6 librares it still don't works
/libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined symbol "__malloc_lock"


Maby it is time to litespeed for 7.0 fbsd? there is arledy freebsd 8.0
Reply With Quote
  #32  
Old 02-03-2010, 04:49 AM
colorprint colorprint is offline
Member
 
Join Date: Nov 2008
Posts: 22
try to install compat6x port
Reply With Quote
  #33  
Old 02-03-2010, 04:57 AM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Quote:
Originally Posted by colorprint View Post
try to install compat6x port
"When i install freebsd6 librares it still don't works"

/usr/ports/misc/compat6x/ installed :P
Reply With Quote
  #34  
Old 02-03-2010, 05:05 AM
colorprint colorprint is offline
Member
 
Join Date: Nov 2008
Posts: 22
strange. it work fine for me on FreeBSD 8.0
But I have not libmap.conf file...
Reply With Quote
  #35  
Old 02-03-2010, 05:22 AM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Quote:
Originally Posted by colorprint View Post
strange. it work fine for me on FreeBSD 8.0
But I have not libmap.conf file...
ok i removed libmap (works fine for litespeed 4.0 - not needed compact then) and it works.
Reply With Quote
  #36  
Old 02-03-2010, 12:33 PM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Default hight cpu usage.

I'm testing new ls 4.1rc2 and wondering why there is big cpu usage:

Code:
  PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
47764 www      105    0 18764K 12428K CPU1    1   0:00 40.48% lshttpd.4.1RC2
47764 www       20    0 18764K 12428K kserel  1   0:00 37.79% lshttpd.4.1RC2
47764 www       20    0 18764K 12428K kserel  0   0:00 28.86% lshttpd.4.1RC2
47764 www        4    0 18764K 12428K CPU0    2   0:00 27.88% lshttpd.4.1RC2
47764 www        4    0 18764K 12428K CPU2    0   0:00 27.88% lshttpd.4.1RC2
(this is THREAD view mode).

I have only 50 req/s

Last edited by Grzegorz Derebecki; 02-03-2010 at 12:35 PM..
Reply With Quote
  #37  
Old 02-03-2010, 12:45 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Please ktrace or truss the process see what is going on. Have you enabled AIO?
Reply With Quote
  #38  
Old 02-03-2010, 02:33 PM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Quote:
Originally Posted by mistwang View Post
Please ktrace or truss the process see what is going on. Have you enabled AIO?
http://mad.xan.pl/p2/truss-lsws.txt
Reply With Quote
  #39  
Old 02-03-2010, 02:37 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
truss output is not helpful at all, too many unknown syscalls.
Can you try ktrace/kump?
Reply With Quote
  #40  
Old 02-03-2010, 02:53 PM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Quote:
Originally Posted by mistwang View Post
truss output is not helpful at all, too many unknown syscalls.
Can you try ktrace/kump?
http://pliki.fdb.pl/kdump.txt
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:32 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.