-
as seen on Server Fault
- Search for 'Server Fault'
Hey,
Recently I had a web developer come to me and ask why he was receiving connection errors in his app that was accessing a sql database.
So, I went through my normal trouble shooting steps to isolate or reproduce the issue. I discovered that if I connected to the database using Query Analyzer…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
i don't know how to open a specific port (rtmp=1935) on my CentOS server using Plesk or itables.
I created new rules for port 1935 i/o using Plesk/Modules/Firewall but this doesn't work. Nmap scanning tells me this :
1935/tcp filtered rtmp
.
So i decided to have look at my iptable using SSH (iptables…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
On one of my servers when I type netstat -n I get a huge output, something like 400 entries for httpd. The bandwidth on the server isn't high, so I'm confused as to what's causing it. I'm suspecting an attack, but not sure.
Intermittently, the web server will stop responding. When this happens…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
(Why can/How are) blocked IPs (get/getting) through my iptables?
Hello and thanks for your consideration...
I have configured iptables and included (below) output from the command "iptables --line-numbers -n -L" yet IP addresses (like 31.41.219.180) from IP blocks I have already blocked are getting…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I'm trying to adjust my iptables firewall to increase the security of my server, and I found something a bit problematic here : I have to set INPUT policy to ACCEPT and, in addition, to have a rule saying iptables -I INPUT -i eth0 -j ACCEPT.
Here comes my script (launched manually for tests) :
#…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I overused hashSets but it was slow, then changed to Stacks, speed boost-up. Poly's reply uses Collections.emptyList() as immutable list, cutting out excess null-checkers. No Collections.emptyStack(). Combining the words stack and immutability, from the last experiences, gets "immutable stack" (probably…
>>> More
-
as seen on Super User
- Search for 'Super User'
My iTunes 9.0.2 hangs on launch in OS X 10.6.2. This doesn't happen all the time, only if I've been running for a while. Then it will recur until I restart. Similarly Safari 4.0.4 will hang in the flash player plugin when about to play a video. If I restart both these problems go away until later…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I need to write a function par :: String -> Bool to verify if a given string with parentheses is matching using stack module.
Ex:
par "(((()[()])))" = True
par "((]())" = False
Here's my stack module implementation:
module Stack (Stack,
push, pop, top,
empty, isEmpty)
…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hey All,
I'm trying to get a TDM400P card with FXO module to connect to our PSTN line. The card is correctly detected by Linux:
[trixbox1.localdomain asterisk]# lspci
00:09.0 Communication controller:
Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
I've run setup-pstn which…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In pthread, After reaching yellow zone in stack, signal handler stop the recursive function by making it return
however, we can only continue to use extra area in yellow zone,
how to clear the rubbish before the yellow zone in the thread stack ?
(Copied from "answers"):
#include <pthread…
>>> More