DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st June 2008
tad1214 tad1214 is offline
Real Name: Thomas Donnelly
Fdisk Soldier
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 60
Thanked 0 Times in 0 Posts
Default More tcp connections

Hey all,

So I have a FreeBSD qmail server with courier IMAP and pop3 also, along with the obligatory Spam assassin. We have about ~110 users. I moved everyone from Outlook/Outlook Express with POP3, to Thunderbird with IMAP. We are getting timeouts occasionally when people are sending mail, and it is just in gerenal slow. It is in a VM with 2 GB of ram and a 2.5ghz processor, so it should be fast enough. I think that the problem lies with too many connections because when it was POP3, everything was fine and happy. How do I allow more (tcp?) connections? I am thinking a sysctl variable, but I don't have access to this server and it will probably be awhile before I do, but I want to be prepped when I go there.

Thanks!
-=Tom

Last edited by tad1214; 1st June 2008 at 03:32 PM.
Reply With Quote
  #2   (View Single Post)  
Old 1st June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

Not to sidestep your question, but what type of VM does FBSD live in?

The reason I ask is the default network driver for < FBSD 7 is slow. If this applies to you, read here:

http://ivoras.sharanet.org/freebsd/vmware.html

If not, ignore this post.

(Note that it helps to give more info, such as FBSD version and VM type.)
__________________
Kill your t.v.
Reply With Quote
  #3   (View Single Post)  
Old 1st June 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Just letting off some steam, running a production environment inside of a emulation/virtualizer is such a bad idea, performance is never as good as a dedicated beige box.
Reply With Quote
  #4   (View Single Post)  
Old 2nd June 2008
tad1214 tad1214 is offline
Real Name: Thomas Donnelly
Fdisk Soldier
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 60
Thanked 0 Times in 0 Posts
Default

The VMWare em vs lnc very well could be it. I will keep that in mind. As for running in a VM, we have a $0 budget :-\ So adding servers isn't an option. We got a fairly mean server on a "buddy" deal from the owner, traded his friend stuff for it, (Dual Quad Cores with 4GB of ram and 8 250GB sata drives) for a fairly low tech place (A greenhouse) so virtualization made the most sense. Everything has run extremely happy, even the mail server until recent, in the VM's. When I show a top, everything looks fairly happy, but we are still getting timeouts. The lnc vs em seems to be likely cause here though. Thanks!
Reply With Quote
  #5   (View Single Post)  
Old 2nd June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

Quote:
Originally Posted by tad1214
The lnc vs em seems to be likely cause here though. Thanks!
Good deal. Keep the forums here in mind if you run into other issues. I have a fair amount of experience running FreeBSD 6.3 virtualized under vmware.

And as to whether or not it's a good idea: it was a departmental decision in my case. It has been working out well so far.
__________________
Kill your t.v.
Reply With Quote
  #6   (View Single Post)  
Old 2nd June 2008
windependence's Avatar
windependence windependence is offline
Real Name: Tim
Shell Scout
 
Join Date: May 2008
Location: Phoenix, Arizona
Posts: 116
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
Just letting off some steam, running a production environment inside of a emulation/virtualizer is such a bad idea, performance is never as good as a dedicated beige box.
Disagree. Virtualization is here to stay and usually only gives you a less than 5% hit on performance, especially with *BSD. I have several production servers running for over a year now on VMs with no trouble, and quite frankly, I can't tell the difference. Sure, you have to have enough resources to run them, but the OP sounds like he should be fine with what he has. I really don't think it's the VM. Of course, YMMV.

-Tim
__________________
www.windependence.org
Get your Windependence today!
Reply With Quote
  #7   (View Single Post)  
Old 2nd June 2008
tad1214 tad1214 is offline
Real Name: Thomas Donnelly
Fdisk Soldier
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 60
Thanked 0 Times in 0 Posts
Default

Info,
FreeBSD 6 -stable
Vmware server 1.05
Running on CentOS 5.1
Reply With Quote
  #8   (View Single Post)  
Old 5th June 2008
tad1214 tad1214 is offline
Real Name: Thomas Donnelly
Fdisk Soldier
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 60
Thanked 0 Times in 0 Posts
Default

Hey, I do have 2 questions. Whenever I would compile the kernel with SMP and give it 2 processors it would hard lock at random. Any experience with this? Also, what kind of an increase is the em vs. lnc, pretty substantial for a network heavy box?
Reply With Quote
  #9   (View Single Post)  
Old 5th June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

Quote:
Originally Posted by tad1214
Whenever I would compile the kernel with SMP and give it 2 processors it would hard lock at random. Any experience with this?
Strange. I'm actually just using a single CPU for each of my FBSD vmware instances.

Quote:
Originally Posted by tad1214
Also, what kind of an increase is the em vs. lnc, pretty substantial for a network heavy box?
I'm inclined to speculate "yes" based on Ivan Voras's comments, but it's not something I have data on.
__________________
Kill your t.v.
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
pf: Does pf have the ability to src-track created/established connections? gen2ly OpenBSD Security 3 27th February 2009 03:10 PM
Serial connections JMJ_coder General software and network 9 25th July 2008 03:28 PM
Problems with multiple ISP connections ebzzry FreeBSD General 2 1st July 2008 11:32 PM
OpenVPN - Problem with connections MME General software and network 2 26th May 2008 06:42 PM


All times are GMT. The time now is 10:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick