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

4
votes
1answer
6k 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 ...
4
votes
1answer
251 views

Multi homed firewall with ipnat

i am trying (without success) to configure a ipnat/ipf box under FreeBSD 8.2, here is the scenario: outside inside +----+ ADSL ...
3
votes
1answer
46 views

what exactly does fsck do under the covers (for UFS)?

If a computer crashes then the filesystem is an inconsistent state. What exactly is fsck(8) doing to restore to a usable filesystem? Is there a backup table? Is it cross-checking metadata? ...
2
votes
1answer
69 views

PF redirect rule: how to limit the rule to specific user

I was trying to setup a PF redirect rule to force all web traffic from a specific user account to go through a web filter on a shared computer. With iptables, I can use --uid-owner option to limit ...
2
votes
1answer
477 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 ...
2
votes
1answer
97 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
1answer
198 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
1answer
246 views

Is it possible to avoid umask 0002?

Is it possible to give an automatic ability to modify files(folders and all recursively) created by one user to another within one specified folder (let's say "shared") on the basis of both users ...
2
votes
1answer
540 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 ...
1
vote
1answer
42 views

FreeBSD pf with NFS

I'm having trouble establishing new NFS connections when my pf is turned on. When I turn off pf on the server and client I'm able to mount with no trouble. I tried keep state and flags S/SA on the ...
1
vote
1answer
39 views

Two identical servers, one of them have 2x CPU load

Http requests are splitted 50/50 between two servers. Servers are running FreeBSD 9.2, their hardware, software & application configurations are absolutely identical. But one of servers is getting ...
1
vote
1answer
61 views

Building custom bootable image from installed and customized FreeBSD 10.1

I am using FreeBSD 10.1 amd64. I customized it and now i want to make a bootable image so that I can install it on any machine with usb stick. How can I make the Bootable image from the Pre- installed ...
1
vote
1answer
216 views

FreeBSD 10.1 routing issues

I have FreeBSD based router in my campus. Trivial configuration for these types of routers: two interfaces, one of them looking to the outer internet, second - to the local net. In my local net ...
1
vote
1answer
604 views

freenas disc problems - smart error - how to repair zfs raid?

I have troubles with my freenas 9.2.1. It crashed today. Its running a fileserver on zfs jbod raid 2. I'm not sure what exactly causes the problems. The system is booting however reacting pretty slow. ...
1
vote
1answer
299 views

Dummynet Filtering not working on FreeBSD 10

I am trying to do network emulation using dummynet in FreeBSD 10. I have this working in 9.3 however things must have changed and I cant determine exactly what but my setup no longer works. I have ...
1
vote
1answer
221 views

configure single /32 ip address to FreeBSD server

Our upstream provider assigned us a single /32 ip address. How can we configure our FreeBSd server to use it? So far we have this in /etc/rc.conf: ifconfig_em0="inet a.b.c.d/32 netmask ...
1
vote
1answer
111 views

Moving MRTG Installation

We have an MRTG installation that has been working for the last 3 years, I noticed that after 18 or so months the data would start recording a fresh. Now I wanted to transfer the installation and all ...
1
vote
1answer
205 views

Increase number of connections per socket

How do I increase the number of connections each socket can accept? I know that you can increase the total number of connections using: # sysctl kern.ipc.somaxconn=4096 But each connection is then ...
1
vote
1answer
199 views

Limit ftp connections with pf firewall at FreeBSD

I want to limit simultaneous FTP connections to my FreeBSD server with the pf firewall. For example that only 10 simultaneous connection are possible to the port 20 or 21 from one source IP. I use ...
1
vote
1answer
142 views

FreeBSD Ngnix installation error

I have a VPS which has Apache webserver installed. I'm trying to install Ngnix on it since my new server will be needing to handle large amount of connection simultaneously. I used this install guide ...
0
votes
0answers
107 views

understand FreeBSD vmstat output about meory

My Dell PowerEdge server has 24GB memory and 6GB swap. It has some VirtualBox vms (virtual machines), one vm is assigned 10GB memory and no swap. Right now the vm is slow, the vm's vmstat output is: ...
0
votes
0answers
106 views

Connect workstation to storage server using 10G network

Currently I have a workstation running on Windows 8.1, and a Storage server running Freenas 9.3. Now they are connected on a central gigabit router to communicate. The network is almost saturated when ...
0
votes
0answers
28 views

FreeBSD disk device names/targets on LSI SAS9211i (IT)

I have a machine with an LSI SAS card (8 SAS/SATA ports) with 8 drives that were initially named da1-da8. The numbering stayed consecutive (first drive -> da1, scbus3 target 0 lun 0, etc.) until I ...
0
votes
0answers
59 views

Ipfw forward from table to IP

I try to forward on FreeBSD all requests on port 80,443 from clients in some table to one IP. ipfw add 80 fwd ip from "table(10)" dst-port 80,443 to x.x.x.x:80 So, not working... What i did wrong?
0
votes
0answers
118 views

IMAP proxy setup to allow use of IMAP IDLE?

First-time poster, long-time lurker/reader. Sorry for the obscenely-verbose question...I intended to keep it more concise. Also, sorry about the links not being "actual" links -- I don't have the ...
0
votes
0answers
72 views

openVPN on another IP

I had a working OpenVPN on my server, and it was working fine, redirecting traffic to the/from the internet, but when i have found that the traffic to the services on this server not routing through ...
0
votes
0answers
246 views

Configuring mod_chat_log for ejabber 14.07 in yaml

I have a trouble in configuring mod_log_chat for ejabber 14.07 on FreeBSD 10. I've compiled mod_log_chat.erl to mod_log_chat.beam add to ejabberd.yml mod_log_chat: path: "/var/log/ejabberd/chat" ...
0
votes
0answers
116 views

zfs raidz can not read from disk

my freebsd 10 server running on zfs raidz. I have a problem with reading files, test dd of=/dev/null if=/tmp/test/1000mb.bin bs=1024k count=1000 953+1 records in 953+1 records out 1000000000 bytes ...
0
votes
0answers
210 views

MySQL exits without any output

Having a strange issue. Some time ago MySQL exited suddenly when I was creating a table (I think), and I shelved the issue until now. It seems to start, but nothing happens and it exits: 141031 ...
0
votes
0answers
142 views

pfsense: break gmirror raid 1 before upgrading

I have a pfsense firewall in an appliance. The disk is using gmirror with RAID 1 setup. Before this, whenever I want to do OS upgrade, I will shut down the appliance, remove it from server rack, open ...
0
votes
0answers
147 views

php-mysqli extension fails as compilation

When I am trying to build the latest php5-mysqli port I get the following errors back: cd /usr/ports/databases/php5-mysqli && make MAKE_JOBS_UNSAFE=yes install clean ...
0
votes
0answers
763 views

SSH server in a FreeNAS jail is not accessible from the local network

I Have a FreeNAS (not sure which version - the one that uses FreeBSD 9.2) setup with a jail that I use for running various tasks. The jail has SSH service enabled in rc.conf, and I can also see the ...
0
votes
0answers
72 views

FreeBSD jail loses network connectivity after some time

I have a Jail on a FreeBSD 9.2 installation on my office network, which I use to run some cron jobs that upload and download stuff from external servers. The cron jobs are configured on the main ...
0
votes
0answers
317 views

Accessing public ip from within freebsd jail with ipf and ipnat

I'm using FreeBSD 9.3 (same issue with 9.2 and 10.0 in test VMs). I have jails running on lo1 10.0.0.x addresses. I use ipf with this config in /etc/ipf.rules: pass in quick on em0 all pass out quick ...
0
votes
0answers
96 views

Intel RAID 1 states changes during install FreeBSD 10

I working on my all servers with FreeBSD 7.x / 8.x on mainboards with Intel RAID 1. I tied to install FreeBSD 10 on machine with Intel Z97 chipset and RAID 1 (mirror). During install process, all RAID ...
0
votes
0answers
300 views

FreeBSD Ezjail flavour script fails to execute

I'm having some trouble configuring jails on FreeBSD (10.0-RELEASE) with Ezjail (3.4.1). The flavour RC script does not seem to execute on first jail startup. The script is located in ...
0
votes
0answers
159 views

FreeBSD jail (ez-jail) “connect: Operation not permitted” ONLY for endpoints routable from a particular interface when jail is bound to a `bridge`

Edit I answered my original question: basically, binding the jail to a bridge interface was the problem. Now my question is, why is this the case? Is there a way to get it to work with a bridge ...
0
votes
0answers
66 views

OpenLDAP PAM authen does not support SSHA on FreeBSD10

OpenLDAP PAM authen does not support SSHA? Hi everyone, Now, I lost one day to figure out, the reason my FreeBSD10 can not authenticate SSH user via LDAP because pam_ldap and nss_ldap do not support ...
0
votes
0answers
38 views

Will pfctl -sr show ordered rules when using -o profile?

When I enable the -o profile option with pf will pfctl -sr show me the new order of the rules?
0
votes
0answers
55 views

FreeBSD - How can I let server A get web access via server B over a specific port?

Setup: Server A: FreeBSD 10 - IP: 100.100.100.100 Server B: FreeBSD 9 - IP: 200.200.200.200 Both servers use pf.conf. Desired result: I want server A to be able to get web access (port 80) via ...
0
votes
0answers
554 views

FreeBSD 10 IPFW IPv6

I'm struggling to allow IPv6 connections on my FreeBSD 10 server. I have a working IPv6 connection. But IPFW blocks all the IPv6 traffic. #!/bin/sh # # flush existing rules ipfw -q flush # allow ...
0
votes
0answers
121 views

FreeBSD routing for multiple subnets

I have to access a network 10.1.0.0/16 through a gateway 10.4.0.2. I issue the command: route add -net 10.1.0.0/16 10.4.0.2 The machine's IP address where I doing this is 10.4.0.22 and it's default ...
0
votes
0answers
3k views

ZFS import unable to find any pools

I had a ZFS pool -- a mirror containing 2 vdevs -- running on a FreeBSD server. I now have only one of the disks from the mirror, and I am trying to recover files from it. The ZFS data sits in a GPT ...
0
votes
0answers
196 views

FreeBSD ipnat(8) rdr - not redirecting

I'm using FreeBSD-10.0-RELEASE: root@fx:~ # uname -a FreeBSD fx.alexus.org 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 ...
0
votes
0answers
163 views

frebsd-update IDS reports wrong SHA256 on every single file on my system

How come freebsd-update says following on every single file on my file system? # freebsd-update IDS > freebsd-update.IDS # tail -1 freebsd-update.IDS /var/db/mergemaster.mtree has SHA256 hash ...
0
votes
0answers
193 views

Can't install p5-Digest-SHA1 on FreeBSD 8.3

I am trying to instasll rkhunter on a FreeBSD 8.3 box. However, during make install one of the dependencies failed to build: ===> Building package for p5-Digest-SHA1-2.13 Creating package ...
0
votes
0answers
329 views

PF, redirecting SSH to internal VM

I run a FreeBSD server with VirtualBox on it. There's a VM in there I'd like to contact via SSH directly using Port 20000. Client and FreeBSD server are connected through OpenVPN via tun. The ...
0
votes
0answers
204 views

FreeBSD 7 syslog messages: “kernel: 15.xxxxxxxxxxxxxxx too long” (or “too short”)?

I'm experiencing poor performance on an old FreeBSD system and the only anomaly I see so far are syslog messages of the form: Jul 1 12:10:50 myserverXXX kernel: 16.0ccdd219377c0d80 too long Jul 1 ...
0
votes
0answers
156 views

Freebsd routing doesn't work

My FreeBSD 9.1 has 3 interfaces: de0 - Internet 1.1.1.45 de1 - LAN 192.168.1.1 de2 - DMZ which I have just added 1.1.1.43 default gateway 1.1.1.33 I have one host on DMZ 1.1.1.42 i have ...
0
votes
0answers
95 views

FreeBSD drops connection on file upload

Very strange error, first I thought it related to PHP settings or nginx (both have all proper settings up to 1G limits and all timeouts are properly set), but then I checked with Ruby (Sinatra), and ...