FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, ...

learn more… | top users | synonyms

2
votes
1answer
4k views

MySQL high CPU usage on small website

I have a small website hosted on a dedicated server (FreeBSD 9.2, MySQL 5.6.1 and php 5.5.5). The problem is that MySQL eats a lot of cpu resources even if the website have a few visitors. The ...
2
votes
1answer
79 views

Huge quantity of session files

I have: CPU: 2 x Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (2600.06-MHz K8-class CPU) 128 GB RAM FreeBSD OS session files stored in RAM each session file is 1...10 kb gc_maxlifetime = 1440 ...
2
votes
2answers
270 views

Redirection with natd flags on FreeBSD

I am trying to setup a basic NAT server. I want all traffic coming from the outside world to the NAT server to be redirected to another machine, where I have a lipcap service running to parse this ...
2
votes
0answers
314 views

Why can't I chown to nobody over nfsv4?

Server: FreeBSD 9.2-RC1, ZFS Client: FreeBSD 9.0-RELEASE-p3 Filesystem is exported with "alldirs,maproot=root". On the client, I can chown a file to any user but nobody. client# touch foo client# ls ...
2
votes
2answers
219 views

How can I get an integer output on BSD ping?

I am trying to perform a simple check on an integer value output from ping. In Linux this was working quite nicely, but the FreeBSD ping outputs a float value with percentage sign suffixed. ...
2
votes
0answers
46 views

calcru: runtime went backwards (FreeBSD) [duplicate]

I have installed a fresh FreeBSD 9.1 machine running in a virtual KVM environment. After some days of uptime I always see the following messages for various PIDs in the system console: calcru: ...
2
votes
1answer
647 views

SVN via SSH not working on Windows with Tortoise SVN

I have SSH access to a FreeBSD machine which has svnadmin (and the rest of the necessary utilities) installed. svn is version 1.7.9 (r1462340). I am on Windows 7 x64, using Tortoise SVN 1.7.7. I have ...
2
votes
1answer
655 views

FreeBSD Nic Setup - Dual NICs with lagg

I have a server running FreeBSD 9.0. It has two NICs using the igb network drivers. I was given a range of IPs, for example's sake I'm just going to make up some IP addresses, so let's say ...
2
votes
0answers
141 views

FreeBSD raid issue

One of my machines (FreeBSD) has lost its raid (0/ stripe). If I go [root@torry /usr/home/bclark]# gstripe list Geom name: st0 State: UP Status: Total=3, Online=3 Type: AUTOMATIC Stripesize: 65536 ...
2
votes
0answers
317 views

Can't remove zfs log device from pool

I run a FreeBSD 9.0 server with ZFS pool version 28 and ZFS version 5. I had two pools with a log on ssd's two partitions. These pools was created on FreeBSD 8.2 with ZFS pool version 15, and ZFS ...
2
votes
2answers
633 views

How to put freebsd configuration under Revision Control?

I heard once that in linux it's possible to put whole /etc/ directory into repository. In fact i already done too much crap on server and I quite disoriented what exactly is setup in there at all. ...
2
votes
1answer
1k views

nginx + Jetty - thousands of connections stuck in LAST_ACK

I have a FreeBSD machine with jails -- two in particular, one that runs nginx and another that runs a Java program that accepts requests via Jetty (embedded mode) Jetty receives upwards of 500 ...
2
votes
0answers
183 views

Is there an equivalent of LinuxIMQs in BSD?

Is there an equivalent of LinuxIMQs in BSD ? From linuximq.net: The imq device has two common usage cases: Ingress shaping: With linux only egress shaping is possible (except for the ingress ...
2
votes
0answers
588 views

FreeBSD istgt - how to limit iscsi target discoverability to IP address

How can I setup an ISCSI target that is only visible to a certain IP address? For example, if a client runs iscsiadm discover from 10.1.1.130, I only want target iqn.2011-03.domain.org.istgt.ded130 ...
2
votes
2answers
2k views

How to make setting of kern.ipc.somaxconn persistent?

Want to rise value of kern.ipc.somaxconn With sysctl works ok $ sudo sysctl kern.ipc.somaxconn=2048 $ kern.ipc.somaxconn: 128 -> 2048 check it: $ sysctl -a|grep somaxconn ...
2
votes
1answer
497 views

What are the security implications of using allow.sysvipc in a FreeBSD jail

The man page for jail says that allow.sysvipc enables "System V primitives [to] share a single namespace across the host and jail environments..." thus "... processes within a jail would be able to ...
2
votes
2answers
6k views

Setting up nameserver - bind [FreeBSD]

First of all sorry for bad English. I'm a newcomer to FreeBSD, and I'm going to like it. Before I tried FreeBSD, I had a Linux VPS (My ISP set it up for me). I decide to drop it in favor of FreeBSD ...
2
votes
1answer
370 views

Cluster-Shared Volume on Windows Server 2012 R2 drops off with minor iSCSI pauses

We are running into an issue here where the Cluster-Shared Volume attached to our Hyper-V 2012 R2 cluster is being dropped off / faulted with the slightest interruption from the iSCSI SAN connection ...
1
vote
5answers
1k views

Show tar file contents with 'less' on FreeBSD

Constantly switching between Linux and FreeBSD I keep bumping into this. When I do: less something.tgz Linux systems(well... Ubuntu to be precise) show me a list of files, which is what I ...
1
vote
4answers
7k views

How to increase /var directory size?

First question: When I run df -h I can see this: # df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 9.7G 8.0G 918M 90% / devfs 1.0K 1.0K 0B ...
1
vote
3answers
385 views

Most secure webserver software

I was reading about Hiawatha and I was wondering if really Freebsd+Hiawatha could be considered safer than Linux+Lighttpd or any other webserver. Moreover, if you were to have to host a very ...
1
vote
1answer
115 views

How to automatically create a dir in user's home when adding new user?

I am toying with Apache and FreeBSD. I'm using UserDir in Apache, and configured it to look at the 'www' dir under each user's $HOME. My question is: which is the best way to automatically create ...
1
vote
5answers
2k views

Is there a command for monitoring network connections in realtime on FreeBSD?

I'm having problems all over our LAN where Firefox is not closing network connections when using our internal webapp. It closes some but not all of the connections, repeat this often enough and your ...
1
vote
3answers
887 views

will it work setting /etc/aliases root to gmail address on freebsd postfix

Is it possible to set the root mail address to my gmail address? And if so how? Would it work by just setting my email address in the following file? /etc/aliases : root: mygmail@gmail.com Or ...
1
vote
4answers
152 views

Download FreeBSD print system

Where can I get to download FreeBSD print system? I have webmin installed on mac os x 10.6.4 and when i want to setup printer administration i get this error The spool directory /var/spool/lpd does ...
1
vote
4answers
3k views

Problem installing ntop on FreeBSD 6.2

I'm following the instructions at http://www.ntop.org/download.html. At some point during the ./configure phase of the install, I get this error message: configure: error: Unable to find RRD at ...
1
vote
3answers
401 views

Will dropping only SYN packets improve or decrease firewall performance?

I'm setting ipfw, and the following was suggested to me: If I make the rule only to drop SYN packets for TCP, no connection could be established and the firewall won't even have to look at other ...
1
vote
3answers
568 views

Upgrading server motherboard while maintaining 12 SATA ports

My office has been using a FreeNAS server that was built with desktop hardware. We use it for storing RAW photos (~50mb each). We have 3 workstations that access (browse, retouch, save) the files ...
1
vote
2answers
2k views

freebsd 8 mail log status, what do these mean?

I'm new at some of the server stuff and need a bit of help understanding what the /var/log/maillog file is saying. I've sent 200 emails for an email newsletter I'm running. In the "maillog" file I ...
1
vote
4answers
779 views

Is FreeBSD more suitable than CentOS for firing 40k concurrent connections (for Jmeter)?

I am trying to run Jmeter to simulate 40k concurrent users and stress test a particular system. Putting aside the possibility that Jmeter may not be able to push such a high number (although I have ...
1
vote
2answers
3k views

How to connect FreeBSD Jail to network

So recently I successfully installed and configured a freebsd jail and I would like to install software within my jail but I cannot connect to the network. I'm trying to setup an apache+php+mysql ...
1
vote
2answers
855 views

Has anybody tried to create a really big storage with ZFS and plain SAS controllers? [closed]

I'm considering to build one with something like this: http://www.supermicro.com/products/chassis/4U/847/SC847E26-R1400U.cfm (a chasis with two dual port multipath expanders) ...
1
vote
2answers
712 views

Route ssh traffic based on hostname using FreeBSD/pf?

I have a proxy/firewall machine running FreeBSD 9, using PF to route and filter traffic as needed. Now I'm setting up a git server, which runs over ssh, but I'm already using port 22 for ssh. I would ...
1
vote
2answers
2k views

Dropping Cached Memory on FreeBSD

i use FreeNAS server which is built on OS version FreeBSD 8.2-RELEASE-p6. I use ZFS file system with 13TB HDD on my 8GB physical ram installed box. It almost uses all of RAM installed while ...
1
vote
4answers
161 views

How to perform action when given syslog message arrives on UDP port

I need to perform given action when specific message (matching for example regexp) arrives at the UDP port (syslog format). How to do this (i.e. by using already avaible softwere as opposed to writing ...
1
vote
2answers
4k views

CARP: two machines think they're the master, but only on one interface

I have two machines, each configured identically as a firewall/load balancer for a busy website. I have set them up with CARP and pfsync on both the internal and external interfaces. The internal ...
1
vote
1answer
160 views

Locked Out of FreeBSD

So I'm upgrading from FreeBSD 7.2 to FreeBSD 8.0 and after a while I get to the part where you have to rebuild all 3rd party applications (stuff from the ports tree or those compiled from source). I ...
1
vote
3answers
243 views

Is there any reason to upgrade from FreeBSD 6.x?

I currently run FreeBSD 6.x, and everything is running smoothly. Is there any reason for me to upgrade to 7 or 8 when it comes out? Am I missing any hot new feature, that I would just have to have?
1
vote
4answers
730 views

OpenCMS throwing Java Exception on TomCat Start

The Setup:- OpenCMS running on TomCat5.5 System running on FreeBSD with the DiabloJVM The OpenCMS system was working then after a restart of TomCat it stopped loading. The Database server ...
1
vote
3answers
800 views

Bridged Networking with bhyve and FreeBSD Guests does not work

I have a FreeBSD10 host with bhyve and the following IP-configuration in rc.conf: ifconfig_igb0="inet X.X.X.146 netmask 255.255.255.0 broadcast X.X.X.255" defaultrouter="X.X.X.254" ...
1
vote
1answer
571 views

PF: Block all, but one subnet firewall rule?

I'm trying to do something that I thought would be relatively simple: Block all the traffic to a test server, other than my company's subnet. I've tried things along these lines (111.111.0.0 is my ...
1
vote
2answers
2k views

Why is my server displaying openssl 0.9.8 when I have openssl1.0.1 installed?

I am creating a test server that is vulnerable to the heartbleed bug. My server is running Apache 2.4 on a FreeBSD VM. By default, FreeBSD seems to have OpenSSL 0.9.8 installed by default. I tried ...
1
vote
2answers
2k views

Need to identify disk in zpool … how?

I need to replace a bad disk in a zpool on FreeNAS. zpool status shows gptid/5fe33556-3ff2-11e2-9437-f46d049aaeca UNAVAIL 0 0 0 cannot open How do I find the serial # of that disk? ...
1
vote
1answer
964 views

Why Permission Denied with NFS after reboot?

I have Ubuntu and CentOS clients nfsv3 mounting to a FreeBSD box, which got rebooted while the nfs clients were connected. Now the clients get a permission denied when they try to access the mount ...
1
vote
2answers
248 views

Advice for inserting additional disks to a ZFS mirrored pool?

I am running FreeBSD 9.1 with root on a ZFS mirrored pool. At first the pool (labelled zroot) has a total of 1TB spanning two 1TB drives. Recently we have run into disk space issues in which the ...
1
vote
1answer
182 views

Rsync Backup from XFS to ZFS

I currently have a backup solution in place that uses rsync to backup all out Linux servers from remote sites, to an XFS drive in our HQ. I am now trying to rsync the folder from the XFS drive in our ...
1
vote
3answers
352 views

Possible to kill command after a timeout if not success?

I would like to use mbuffer to do ZFS replication with, but in order to do that, I have to start it in listening mode on the target host. That I would do from the master host by ssh 10.10.10.11 ...
1
vote
6answers
2k views

freebsd creating a script to check if service is active and start the service if not

Here's the deal: I'm running a freebsd webserver with apache solr on a jetty every now and then ( few times a month ) jetty quits and I have to restart it by typing: service jetty start I'm kinda ...
1
vote
2answers
2k views

FreeBSD Listen Queue Overflows - can't increase max queue size

I have a decently high trafficked FreeBSD Nginx server, and I'm starting to get a large number of listen queue overflows: [root@svr ~]# netstat -sp tcp | fgrep listen 80361931 listen queue overflows ...
1
vote
2answers
458 views

FreeBSD jails access

I want to run an application inside jail so that allowed uses can only connect to the jailed env (application) and nothing else on my box. But they need to be able to connect to the jail over the ...