BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
The Web Buyer's Guide is your best source for white papers on a wide range of IT products and services. This Week's Featured White Papers: Guide to Virtual Infrastructure Implementation by VMware
  #1  
Old December 7th, 2001, 11:52 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,298 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 1 h 54 m 21 sec
Reputation Power: 41
Customizing FreeBSD 4.4 remotely

I have been configuring a new FreeBSD server I rented at a dedicated hosting facility. I am trying to use this as a test case for a default configuration I would like for more FreeBSD servers in the future, so I have been spending a lot of time thinking how best to run a serious web application server, and getting the right balance of performance and stability. I have tried a few non-default things, and I am wondering if I am making any major mistakes:

1. Softupdates - The facility does not let me have direct physical access to the machine, and I really wanted to enable softupdates, so I searched and found a post by someone who claimed he had no trouble enabling it remotely. He just put "/sbin/tunefs -n enable /usr" (& etc...) in the beginning of the /etc/rc file. I tried it and had no problem. I just had to place that in /etc/rc once, and then comment it out after that, since it is a one-time command. AFAIK, the partitions where I enabled softupdates are working fine. I know this is not the correct way to do this, but I am wondering if this is a "one-time" operation. IF it reboots fine, does that mean I am OK, or should I be worried about any other possible side effects?

2. Many of the web apps and libraries I want to play with require Perl 5.6, and FreeBSD 4.4 still doesn't ship with it by default. I downloaded the sources to 5.6.1, and walked through the interactive installer, being careful to choose the correct directories for bin, lib, etc... Again, AFAIK it's working fine. Are there any gotchas I should be worried about?

3. The machine is a Celeron 800 with 256 MB RAM, and a 20 GB ATA-100 hard drive (I know, the next machine is going to have DUAL PIII and SCSI, but I have to start small). For my kernel build, what is a good choice for maxusers and NMBCLUSTERS? Keep in mind I want to run Apache, SSL, PHP, MySQL, and PostgreSQL, as well as some Perl modules (no CGI, though). I am thinking about setting maxusers at 128, and NMBCLUSTERS at 16384. I am also doing the other standard CPU optimization stuff, and taking out some of the unneeded drivers. So far I have the kernel down to 2.7 MB.

4. What is a good choice for maxusers and NMBCLUSTERS on a Dual PIII GHz, 4 GB RAM, and SCSI RAID 0+1?

5. AFAIK, for the ATA hard drives, FreeBSD now automatically chooses 32-bit DMA access, multiple-sector r/w, etc..., if it can do so safely. Is that the case? If not, what should I do to get better performance out of the IDE drive? (besides throw it out...)

6. Any other suggestions?

Thanks
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Customizing FreeBSD 4.4 remotely


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway