Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (3)

2
votes
0answers
841 views

How to measure dcachesize usage (and reduce it)

I have a VPS running CentOS 5.7 (Final), 32-bit. Right after boot, when I run # cat /proc/user_beancounters I see that my dcachesize usage is at about 4100000, while my VPS is set up with a limit of ...
2
votes
0answers
522 views

Getting ipsec-tools to work between Ubuntu Lucid hosts

I have two hosts, one is Charity with IP 67.207.128.184, the other is Hope with IP 67.207.130.204. I've installed the ipsec-tools package on each host. I have not installed racoon on either host. ...
2
votes
0answers
286 views

Postgres shell logout weirdness on debian

So, strangest thing happening on Debian PostgreSQL user: lab3:~# su - postgres postgres@lab3:~$ plogout lab3:~# And: lab3:~# su postgres postgres@lab3:/root$ pexit lab3:~# What is happening ...
2
votes
0answers
293 views

Why do I have to remount an smb share if I want to recreate a directory?

Suppose I have an SMB share mounted somewhere in a Linux filesystem. If I do this (from within the mounted share): rm -rf some-directory mkdir some-directory ls -a some-directory some-directory is ...
1
vote
0answers
26 views

LVM mirror attempt results in “Insufficient free space”

Attempting to add a disk to mirror an LVM volume on CentOS 7 always fails with "Insufficient free space: 1 extents needed, but only 0 available". Having searched for a solution, I have tried ...
1
vote
0answers
20 views

periodic connection timeouts to nginx server

We have the following setup: One nginx server as a loadbalancer in front of four worker application servers. The nginx server get about 100 requests per second, sometimes more that that, active ...
1
vote
0answers
19 views

lxc command always “get error 4 in libc-2.12.so”

I've tried several time to find out why suddenly my LXC not working, I use dmesg | tail it shows: lxc-start[2777]: segfault at fffffffffffffffc ip 000000390347b82c sp 00007fffd9046c18 error 4 in ...
1
vote
0answers
14 views

smartd rule does not work

I have an issue with smartd. I've studied its man page, and then I've set the SMART daemon to run long test of the hard disks two times a month and alert to the specified mail address in case of ...
1
vote
0answers
34 views

force dhcp server to always run

I have an Ubuntu machine with two Ethernet network interfaces and on one of them I am running a DHCP server (isc-dhcp-server). I noticed that the server daemon stops running whenever I suspend the ...
1
vote
0answers
32 views

slow copy due to disk write issue

I am trying to copy a file from /backup/ folder to /backup/abc/ and it is taking a lot of time. The copy operation on performed on other server is pretty fast. # df -HP Filesystem Size Used ...
1
vote
0answers
59 views

Where did my memory go on linux (no cache/slab/shm/ipcs)

This is a headless server with 8GB RAM (kernel 3.12)... even after only a few days, i get low on memory. in fact, this server has OOMed a few days ago... something is losing memory, but i don't know ...
1
vote
0answers
38 views

Investigate strange message from syslog@stock

I've noticed that when I'm logged into my server I sometimes get spammed a message from syslog@stock. On this server I am running a website built with Laravel and a Teamspeak 3 server running with ...
1
vote
0answers
28 views

OpenVZ - updating kernel and all containers

Last night I upgraded to the latest kernel of openvz. I rebooted the host node. It came up with the latest kernel. However, the containers are still running the old kernel. What I did on the host ...
1
vote
0answers
115 views

How to provide external access to only the Git projects (clone/pull/push) of an internal GitLab deployment

We have set-up a GitLab server (GitLab 7.0 Community Edition). It is up and running and our colleagues can use it within the LAN (the IP address and Host are only visible from the LAN). Some of the ...
1
vote
0answers
20 views

IPSEC on linux with multiple remote ISP

I have configured 2 ipsec VPN connection from my linux server to my clients locations. the reason being the client has two ISPs a primary and a secondary on. The client wants to switch to secondary ...
1
vote
0answers
104 views

Haproxy using 10GB Memory and 100% CPU with 50k connections

On a Ubuntu 14.04 x64 server, Haproxy uses 3.3 GB of memory and 6.8 GB of swap, while handling 52k connections. The CPU usage also keeps spiking to 100% before most of the traffic was redirected to ...
1
vote
0answers
36 views

ping: sendmsg: Operation not permitted (sometimes)

On a Ubuntu 14.04 running Haproxy, after a service haproxy reload, Haproxy is suddenly reporting all servers behind it as down. After some digging around, I noticed that ping is not working properly, ...
1
vote
0answers
17 views

LXDE Desktop shortcuts layout configuration files

I am working on Lubuntu 14.04 LTS with LXDE Desktop Manager and I would like to change default Desktop icons layout. (These are shortcuts for some application). By default, these icons are layered at ...
1
vote
0answers
10 views

SELinux module for a specific file rather than an entire context

I've created an SELinux module that works great for a specific context. What I would like to know is, is it possible to restrict this module to only function for specific files with that context? For ...
1
vote
0answers
42 views

FreePBX server (cent OS base) locks up with no errors or kernel panics

Bit of a baffling situation I've been dealing with for a few days. I have multiple CentOS headless servers (6.4) with the following stats: Core CentOS - 6.4 (Final) Kernel - ...
1
vote
0answers
36 views

What's causing high CPU load by kjournald process?

I'm running CentOS 5.4 (Final) server as my PDC and Windows file server. Until earlier today, the server has been running non-stop for over 6-months (since the last reboot). The problem now is that ...
1
vote
0answers
41 views

command line alias inside php exec

Is there any possibility to define shell alias for commands executed via php system, exec etc functions? I'm running multiple versions of PHP using fastcgi and I need to run the right version of PHP ...
1
vote
0answers
24 views

Turn on/off proxy pass in nginx if a particular header is set

For testing purposes (in particular I'm developing a performance analyzer for a website that currently runs in production) I need to have some endpoints (es: /performance) that should be processed by ...
1
vote
0answers
42 views

Iptables multiport and source ip

I have a rule which does not seem to allow traffic as expected -A INPUT -p tcp -m state --state NEW -m multiport -s x.x.x.x -d y.y.y.y --dports 38000:38100 -j ACCEPT If I remove the -s argument ...
1
vote
0answers
27 views

php5-fpm doesn't create sockets for pools

I'm going off of section 3.1 of http://www.howtoforge.com/php-fpm-nginx-security-in-shared-hosting-environments-debian-ubuntu . I have created a directory in /var/run which www-data:www-data has ...
1
vote
0answers
25 views

Multipath tcp application level performance measurement

I am working on a project related to Multipath tcp and I want to measure the goodput and the RTT at the application level. I don't want to use a traditional tool(netperf, iperf, ...) and I want to ...
1
vote
0answers
22 views

How to test if packet has been tagged with classid

I'm trying to troubleshoot an issue I'm having related to IFB Mirroring which I'm attempting to deploy based on this question: Tc: ingress policing and ifb mirroring My theory is that since the ...
1
vote
0answers
37 views

Two port PCI serial card. One port can only set baud rate once

I have a new PCI serial card, being used on a Ubuntu 14.04 box. It's serial ports show up as /dev/ttyS4 and /dev/ttyS5. $ dmesg | grep ttyS [ 0.732690] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, ...
1
vote
0answers
25 views

Subversion svn+ssh speedup needed - can we reduce per-connection read timeout?

I have a series of scripts that are doing many svn operations and taking too long and we're not sure why. For example svn switch svn+ssh://srv/repo/... ... This consistently takes about 1.1 ...
1
vote
0answers
56 views

Nginx proxy pass not working sometimes

I have a proxy server (ubuntu) that can accessible via my global IP (not have domain). For Example 85.45.0.12:6021 and this reverse to local server. Local server (10.0.0.25) installed tomcat and ...
1
vote
0answers
45 views

How to view network resources used by a thread in Linux

I am trying to check the network resources used by a thread but unable to figure out how. lsof only allows us to give the pid. I checked under /proc/pid/task/thread/ but could not find anything ...
1
vote
0answers
57 views

Unusually high nfs_inode_cache

My server is experiencing a high usage of nfs_inode_cache = 11G , im trying to figure out what's consuming all this , i know already that directories with large numbers of entries and deep directory ...
1
vote
0answers
22 views

SMI generation / detection in GRUB / real mode vs. in Linux

I'm trying to get an idea of the frequency and duration of SMI events on a Supermicro X10SAE C226 board (2.0a BIOS) with E3-1245v3 Haswell CPU. The Intel BIOS Implementation Test Suite (BITS) SMI ...
1
vote
0answers
53 views

Debian WPA2-Enterprise (Network-manager) 802.1X no prompt for certificat?

I set up an access point (AP) with PEAP (Freeradius) 802.1X authentication and trying to connect the following: IOS: Automatically provides the certificate to the onscreen user. WINDOWS: ...
1
vote
0answers
50 views

/proc/slabinfo: Input/output error

I am using Ubuntu 12.04 and XFS (kernel 3.2.0-38-generic). Because XFS inode cache use too much memory, I want to limit the number of objects used to cache XFS inode. According to the manual, I can ...
1
vote
0answers
81 views

BIND/Linux limiting concurrent UDP connections

I'm seeing an issue where the number of concurrent UDP connections to BIND appears to be getting limited. I've previously increased recursive-clients in named.conf and I've increased the socket limit ...
1
vote
0answers
35 views

How to monitor ospf session using check_ospf plugin in icinga2

I have tried to use check_ospf plugin downloaded from nagios to help me in monitoring the ospf sessions between two host running quagga. I have tested the check_snmp plugin on the hosts, and they are ...
1
vote
0answers
35 views

Group traffic shaping with traffic control?

I'm trying to limit the output bandwidth generated by an application with linux tc. This application sends me the source port of the request that I use has a filter to limit each user at a given ...
1
vote
0answers
47 views

All nework interfaces hang for seconds while one interface goes up/down

I am building a client/server application that uses several network interfaces in parallel for redundancy, and I have noticed that while one network interface goes down or goes up, the communication ...
1
vote
0answers
24 views

Losing connection to server from several computers

I have a PostgreSQL server running Oracle Linux. In my network I have several workstations each running different OS (Fedora, Ubuntu, Windows). Every once in a while I lose connection from the several ...
1
vote
0answers
112 views

How Do I Configure Nginx To Communicate with SMTP Server?

I'm an application developer and have little knowledge on sysadmin / server configuration tasks. I have an nginx server communicating to a Flask web application through uWSGI on a VPS. I'm trying to ...
1
vote
0answers
23 views

Kernel Compiling from Vanilla to several machines

When compiling kernels for machines is there a safe or correct way to create a template for say servers? I work with a lot of RHEL servers and want to compile them with GRSEC. However, I do not wish ...
1
vote
0answers
81 views

PhpMyAdmin Hangs On MySQL Error

I'm currently running PhpMyAdmin 4.0.10 (the latest version supporting PHP 4.2.X) on my Amazon EC2 connecting to a MySQL database on RDS. Everything works perfectly fine except actions that return a ...
1
vote
0answers
32 views

XenServer pool, unable to access certain networks from 2 servers in pool

I have Xenserver pool of of 3 xenservers, at version 6.1. After we got a serious DDOS attack on our network, all servers got rebooted (whole pool of 3 servers got restart and entered into maintenance ...
1
vote
0answers
173 views

ClearOS Proxy - Block all traffic but two sites and 3 DMZ ips

I've been trying to two days now to get ClearOS to do a proxy setup for my network. This is what I need to do: I need to block all outgoing traffic no matter what it is, all ports and HTTPS as well ...
1
vote
0answers
30 views

why my ftp log is showing such error of anonymous logging with my server ip as client

I have my ftp in my organisation . access by various branches on remote. why i'm getting such log in my ftp server (vsftpd) . as anonymous logging is not enable .and also getting the ip of my ftp ...
1
vote
0answers
50 views

heartbeat doesn't work on virtual interface

I try to use vertual interface as broadcast for heartbeat(bcast in ha.cf). When I try it I see this message in syslog: May 23 12:17:26 Ubuntu2 heartbeat: [1107]: ERROR: glib: Error setting socket ...
1
vote
0answers
21 views

PHP APC cannot increase cache above 32m

apc.shm_size I set it to 128M I have also try 128 (without M) But It always 32M :( /proc/sys/kernal/shmmax is set to 134217728
1
vote
0answers
25 views

RabbitMQ server randomly, mysteriously stopping

I installed RabbitMQ on my EC2 box following the RPM install instructions from their website. My OS is CentOS. Every now and then, the rabbitMQ server just stops running, nothing shows up in the ...
1
vote
0answers
51 views

Upgrade Raid 1 to Raid 0+1 and bootloader issue

I am trying to convert my current RAID 1 to RAID0+1 and facing issue in installing bootloader - please have a look what i am doing. My current configuration is RAID1(2*10GB): [root@localhost ~]# ...