d91f [Solved] negative sbsize - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old June 23rd, 2012, 20:19
cpu82's Avatar
cpu82 cpu82 is offline
Member
 
Join Date: Jul 2011
Location: Granada, ES
Posts: 866
Thanks: 173
Thanked 304 Times in 234 Posts
Post negative sbsize

Hi,

Running skype I'm getting a lot of messages repeated:

/var/log/messages output:

Code:
kernel: negative sbsize for uid = 1001
last message repeated 982 times
How to fix this error? Any hint?

Last edited by cpu82; August 4th, 2012 at 00:57.
Reply With Quote
  #2  
Old July 1st, 2012, 13:19
cpu82's Avatar
cpu82 cpu82 is offline
Member
 
Join Date: Jul 2011
Location: Granada, ES
Posts: 866
Thanks: 173
Thanked 304 Times in 234 Posts
Post

Someone mentioned the problem:

http://osdir.com/ml/freebsd-hackers/.../msg00313.html

But no examples that solve the issue

Last edited by DutchDaemon; July 2nd, 2012 at 00:43.
Reply With Quote
  #3  
Old July 16th, 2012, 12:32
cpu82's Avatar
cpu82 cpu82 is offline
Member
 
Join Date: Jul 2011
Location: Granada, ES
Posts: 866
Thanks: 173
Thanked 304 Times in 234 Posts
Post

I try tuning some sysctl variables and look what happens.

My entries in /etc/sysctl.conf

Code:
net.inet.ip.intr_queue_maxlen=256
kern.ipc.maxsockbuf=2097152
kern.ipc.nmbclusters=65536
kern.ipc.somaxconn=128
kern.ipc.maxsockets=65536
kern.maxfilesperproc=32768
kern.maxfiles=65536
net.inet.tcp.nolocaltimewait=0
kern.ipc.shm_use_phys=0
net.inet.tcp.sendbuf_max=2097152
net.inet.tcp.recvbuf_max=2097152
net.inet.tcp.sendbuf_inc=8192
net.inet.tcp.recvbuf_inc=16384
net.inet.tcp.hostcache.expire=3600
What could I change to increase the network performance?

Last edited by wblock@; July 16th, 2012 at 14:31. Reason: remove cmd tag
Reply With Quote
  #4  
Old August 4th, 2012, 00:56
cpu82's Avatar
cpu82 cpu82 is offline
Member
 
Join Date: Jul 2011
Location: Granada, ES
Posts: 866
Thanks: 173
Thanked 304 Times in 234 Posts
Post

I found that moving to shell/zsh, repeated messages disappear. The value reported for mapped memory (RSS) by limit is correct.
Code:
$ limit | grep vmemorysize
vmemorysize     unlimited
Reply With Quote
  #5  
Old August 4th, 2012, 01:55
Crest Crest is offline
Junior Member
 
Join Date: Jan 2009
Location: ::1
Posts: 99
Thanks: 2
Thanked 27 Times in 21 Posts
Default

no it's not
Reply With Quote
  #6  
Old August 4th, 2012, 11:38
cpu82's Avatar
cpu82 cpu82 is offline
Member
 
Join Date: Jul 2011
Location: Granada, ES
Posts: 866
Thanks: 173
Thanked 304 Times in 234 Posts
Post

Quote:
Originally Posted by Crest View Post
no it's not
More details...
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] understanding negative storage space m4rtin System Hardware 2 December 14th, 2011 13:31
phpSysinfo and Webmin displaying negative memory usage Simba7 Installation and Maintenance of FreeBSD Ports or Packages 1 November 22nd, 2011 09:01
negative time in kdump output tantra35 FreeBSD Development 1 November 1st, 2010 21:27
net.inet.tcp.syncache.count: negative BernardoCR Networking 1 May 27th, 2010 00:57
[Solved] df reports negative value on a local filesystem rockHardRideFre General 3 March 2nd, 2010 07:45


All times are GMT +1. The time now is 08:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0