Slackware :: How To Disable Syslog Buffering
Mar 22, 2011
I've been messing around with fail2ban regex and heard that you can get better performance by disabling syslogd buffering. By better performance I mean that fail2ban can detect more login failures per second than with syslogd buffering turned on.How do you disable syslogd buffering
View 2 Replies
ADVERTISEMENT
Mar 25, 2010
I use my system as my stereo. It's the only thing I listen to. For quite some time now though, I have had a problem with audio not being properly played. What I get is what sounds like reverberation in the audio feed. I found that increasing the amount of time for the feeds to be buffered helps, but only partially.
I also installed another parallel system in this very same computer (on a different disk) which initially didn't have this problem. But then I did an upgrade and the problem became apparent on that system also. However after having done a couple of reboots, I noticed the problem disappeared. Now that system running is running clean as it was initially.
This may be an issue with my nVidia drivers. I'm not sure. Because I noticed problems on the second parallel system after attempting to install the proprietary nVidia graphics driver, which had numerous unpleasant side effects. So I removed it. But the problem didn't go away immediately. Only after I had rebooted a number of times did the sound begin to play as it would normally be expected to.
My primary system, the one from which I am now posting this runs KDE. But on the parallel system, due to a much smaller disk space, I am running XFCE. So this isn't a KDE-only issue.
View 13 Replies
View Related
Aug 9, 2010
i installed php-syslog-ng 2.9.8m in RHEL5 box. I saw logs from the local machine once the cron execute in every one minute.I dont need to appear those in my syslog console. I want to disable these from my linux box.How can i archive this
View 1 Replies
View Related
Mar 16, 2010
reason is that the slack11 server in question was running for more than 150 days non stop. but due to a long power failure i had to shut down the ups yesterday and so the server too. anyway, i rebooted everything and somethings didn't quite work like i remember them to work from the last reboot (i.e. without anything that would alarm me).. ie. rc.syslog takes a million years (about 5mins+) to process during the bootup. i have no idea why, from then on boot process continues fine.
the only thing that might be remotely related is that recently i installed ulogd in order to log the firewall to a different file. i decided to start my rc.ulogd directly after the rc.syslogd start in rc.M. now, it doesn't seem to have any effect if i comment out the startup of rc.ulogd... rc.syslogd will still take ages to process during boot. if i comment out rc.syslogd from rc.M then booting will proceed at the expected speed and once i login, and start syslogd manually it will fireup quickly... i have tested this configuration in a slack13 box i have recently setup as a router-gateway and it worked fine there.. no prob with syslogd...
View 1 Replies
View Related
Dec 11, 2010
I am looking for an open source syslog server which accumulate the each and every log of Windows, Solaris, Linux and network devices. Currently I am using Syslog-ng which is not fulfiling my requirement in Windows clients, as I need the logs of every action which user performed after logon.
View 2 Replies
View Related
Dec 29, 2009
When I was running Windows OS on my laptop I was able to buffer and pause movies I watch on Dvix. Now that I'm running Ubuntu, I cannot pause the movie anymore. Whenever I pause it, I have to watch the movie from the beginning. Also, I cannot let the movie buffer to completion.
View 1 Replies
View Related
Jan 22, 2010
I keep time sheet entries at work in an sqlite database called 'timesheet'. I have a shell script called 'today' which queries for all timesheet entries which are less than 24 hours old; it looks like this:
Code:
#!/bin/bash
echo "select datetime(start_time, 'unixepoch', 'localtime'), datetime(end_time, 'unixepoch', 'localtime'), project, site, duration from timesheet where start_time > strftime('%s', 'now', '-1 day', 'localtime');" | sqlite3 ~/.timesheet/timesheet.db
In an effort to make it more readable, I've put the query inside a here document:
Code:
#!/bin/bash
cat | sqlite3 ~/.timesheet/timesheet.db << query
select
[Code]...
View 2 Replies
View Related
May 5, 2009
trying to replace syslog with syslog-ng. When I:
yum erase syslog,
wants to remove everything else that (presumably) has syslog as a dependency. how do I replace the dependency on syslog with a dependency on syslog-ng?
View 3 Replies
View Related
Oct 7, 2010
I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB
View 9 Replies
View Related
Apr 3, 2010
I understand that the linux pipe is a buffer and that any data written to it will stay there until it is read, and if the max capacity of the buffer is reached, any additional writes will block (by default).
HOWEVER, the behavior of the pipeline below suggest that the write operations are buffered/cached before ever being written to the pipe on the client side here is write.sh, which creates 1000 byte string and writes it 100 times to stdout... the idea being that it'll block as soon as the 64kb linux pipe size is reached:
[Code]...
This is not what I was expecting: I was expected that once the capacity was reached, any reads would be followed immediately by a write to take advantage of the freed space. Instead, the blocked write operation seems to wait for some random amount of time/space to free until it unblocks and writes.
View 2 Replies
View Related
Jul 7, 2011
The blueman applet is killing my processor from time to time. The crazy part is that I do not have blue tooth installed in this system. It appears to be a bug upstream and looks like it has been reported but in the mean time is there a way to disable blueman?
View 5 Replies
View Related
May 7, 2010
I'm trying to install ATLAS which requires disabling cpu throttling. Normally one can do it in the BIOS, while there isn't such an option of my dell inspiron 6400. Actually there is a SpeedStep option in the BIOS, however, you cannot get the highest but the lowest performance by disabling it (dell!!!).
After googled a lot, I found in some distros, there is a /usr/bin/cpufreq-selector through which one can disable throttling. But it doesn't exists in slackware.
I known that by appending kernel option "acpi=off", one can disable the whole acpi and thus the throttling control in slackware, but it seems so dirty.
Anyone known a better way to do it?
ps: With a intel T2050 cpu, i didn't find the directory /sys/devices/system/cpu1, but only the /sys/devices/system/cpu0. Similar case in /etc/acpi. it seems that slackware treats my cpu as a single core one, while it is not.
View 21 Replies
View Related
May 1, 2011
I want to install the Nvidia drivers because I suspect nouveau to be responsible for some system freezes. It seems that I need to disable nouveau before I can get nvidia working. How do I do this?
View 5 Replies
View Related
Dec 29, 2009
When I was running Windows OS on my laptop I was able to buffer and pause movies I watch on Dvix. Now that I'm running Ubuntu, I cannot pause the movie anymore. Whenever I pause it, I have to watch the movie from the beginning. Also, I cannot let the movie buffer to completion.
View 5 Replies
View Related
Aug 17, 2010
How to disable KTTSD in slackware linux?
View 2 Replies
View Related
Apr 25, 2010
how to disable backup files? It is kinda annoying when editing lot of files and I personally see no point having them.
View 11 Replies
View Related
Jul 14, 2010
I do not want akonadi on startup. How do I disable it?
View 5 Replies
View Related
May 2, 2010
I've always run as root on Slackware, but having done away with Ubuntu for now, all of my machines including the family desktop are running Slackware. There have been several ups and downs and the last one that I know of (for now) is the HP Device Manager. It doesn't run as root so I've never noticed that it drastically slows down printing via a shared printer. Disabled the system just sends it's requests to the samba/cups server and starts printing instantly. The HP Device Manager seems to go through an intialization step each time that takes several seconds before I can even hit the "print" button.
View 11 Replies
View Related
Aug 6, 2010
I have Aspire one 752 netbook with slack 13.1 installed. I installed laptop-mode-tools from slackbuilds to control power management and etc. I'd like to make sure that sda drive in netbook never spins off when not running on batteries. For now it seems to spin down after every half a minute and is producing clicking sounds. I issued 'hdparm -B 255 /dev/sda' which seemed to work - no clicks any more, and no spinning-up sounds. What is the right way to make this change to be applied whenever netbook is on AC power?Edit: Also, how to make this 'hdparm -B 255 /dev/sda' survive hibernate, as it reverts to '96' after being resumed:
# hdparm -B /dev/sda/dev/sda: APM_level = 96Edit2: Ok, i changed hdparm -B values from 254 to 255 in laptop-mode.conf, since values of 254 and any other i tried(1, 96, 128) gave ioctl errors and were not applied to drive.
Code:
# hdparm -B 96 /dev/sda
/dev/sda:
[code]....
View 3 Replies
View Related
Feb 19, 2010
How you disable it? it makes no sense you have to type all those non capital and capital letters just to access a directory correctly.
in windows you just type the name and it detects whatever you type capital or not...
View 3 Replies
View Related
Oct 12, 2010
I login as root every time (its a closed system) and I am running it on a laptop. I want to disable the touch pad after typing for 4 seconds.I have tried adding this command:syndaemon -i 4 -dto rc.4, rc.local, rc.httpd, http.mysqld
View 7 Replies
View Related
May 11, 2011
I can manage my printer through the web browser interface in 12.2 without cookies but in 13.1 I need to allow cookies.
When did CUPS start requiring cookies to be enabled to use the web browser interface?
Is there an option to disable the cookies requirement?
View 4 Replies
View Related
May 7, 2011
I just finished setting up my slack machine as a home server (printers & files) and I noticed that I have an IPv6 address (from ifconfig)... I didn't know I did. I used to work in tech support and when a windows or OSx machine didn't connect properly on a LAN, disabling IPV6 was a common troubleshooting step. Is there a way to easily turn inet6 connectivity off/on in Slackware? (I want to keep the ability to get an IPv6, we will all use those in the future)
View 2 Replies
View Related
May 31, 2010
On a Slack64 13.1 with stock kde :
How can I disable the folder preview which occur when the mouse stay to a folder icon on the desktop (I use "Folder view" on the desktop) ?
Similarly, is it possible to disable the popup displaying comment and help when the mouse stay over a icon shortcut to an application ? If yes, how and where ?
View 2 Replies
View Related
Mar 29, 2010
how to disable pcmcia probing during boot in Slack >= v.13? I have an Asus eeepc 1000HA with no need for pcmcia support.
View 1 Replies
View Related
May 28, 2010
Looking for opinions on what is the best way to disable the touchpad on a Sony VAIO. I just installed Slack64 13.1 and love it...
View 10 Replies
View Related
Nov 8, 2010
I've recently updated my Slackware 13.1 system to the Slackware current. Although I have created my "initrd" image without specifying the "-u" option to "mkinitrd" it still starts up "udev".
That is causing me some difficulty because I am using "dmraid" to detect my RAID arrays. I had created my own device names such as "/dev/sdr2" for my root partition. With 13.1 I had no problem, since "udev" was not started by the "initrd" unless the "-u" option was provided. The current version seems to start up "udev" even without that option.
Is there a way to disable "udev" in the "initrd", or is there a way to specify custom "udev" rules for an "initrd"? I tried placing a "10-local.rules" file in the "etc/udev/rules.d" directory of the "initrd-tree" but that file had no effect on the device names generated by "udev" during the "initrd".
Here is my script that creates the "initrd".
Code:
ROOTDEVNAME="/dev/sdr2"# Name of root device
LINUXVER="2.6.35.7-smp"# Linux modules version
CLIBVER="2.12.1"# C library version
ROOTDIR="/boot/initrd-tree"# Location of root filesystm
[code]....
It will be helpful for me to understand "udev" issues related to an "initrd" because I will eventually try to use "mdadm" instead of "dmraid". So far I have only been able to get my system to boot from the RAID array using "dmraid" and I often run into new problems when I update Linux. Still, Slackware has proven to have the best support for booting from my RAID array because of the user community, documentation and flexibility.
View 1 Replies
View Related
Mar 23, 2011
I've been practicing C programming the past month and had the idea to do this. I don't know if there's already something similar, or if anyone would find this program useful.Slervice simply calls Pat's scripts and the chmod command. I believe it's self explanatory. It can be compiled with cc slervice.c -o slervice.
View 11 Replies
View Related
Apr 20, 2010
During installation I set eth0 to use dhcp to get an IP address. I then installed gnome and networkmanger which handles my interfaces and works fine. But during bootup the system pauses for 5 seconds or so while it polls for dhcp. It then times out and gives me a 169.254.xx which is then replaced when networkmanager starts up at the end of bootup.
How do I stop the polling to cut out the 5 seconds?
View 14 Replies
View Related
Sep 11, 2010
I would like to use my second monitor with my Slackware (Laptop) setup but they are different sizes/resolutions.
This is no problem with KDE but before X is started and when X ends there are big issues with the TTY0 console being distorted.
Is it possible to disable the second monitor when X is not running?
(Slackware64Current, ATI Mobility Radeon HD3200 card)
I essentially want the second monitor to activate ONLY in the event of an X Session and turn off when X halts.
View 6 Replies
View Related