The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
1k views

vmware virtual sockets vs cores per socket

VMware configuration give me various options for upgrade the cpu of the virtual machine. Number of virtual sockets Number of cores per socket If I need 4 cpu in my linux box, which is better for ...
-2
votes
1answer
71 views

Apache2 on Centos [duplicate]

Possible Duplicate: Configuring Apache on CentOS 5.7 I've purcheased a vps and installed apache2. As developer i've been doing this hundreds of times with no problem. Now I'm facing this: ...
-1
votes
1answer
160 views

Segments/Processes running on same UDP socket

Suppose a process in Host C has a UDP socket with port number 12345. Suppose both Host A and Host B each sends a UDP segment to Host C with destination port number 12345. Will both of these segments ...
0
votes
1answer
189 views

Subdomains. How do you do development with subdomains?

I am currently building an web app which also utilizes websockets. (Rails for webserver and Nodejs for socket.io) I have structured my application to use subdomains to separate between connection to ...
1
vote
2answers
110 views

Problems with firewall when forwarding 8080 thru Comtrend5071T

I am trying to forward port 8080 thru my modem but i have not been successful. to be exact my desired route is as follows: Connection to Server A (192.168.0.5) is tested as working ...
3
votes
3answers
610 views

python reports socket in use, netstat and others claim its not

We have a strange socket issue with a RHES3 box: Python 2.4.1 (#1, Jul 5 2005, 19:17:11) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-52)] Type "help", "copyright", "credits" or "license" for more ...
0
votes
1answer
247 views

Is there a system wide limit to the total amount of socket & queue buffer space?

in Linux I know that you can tweak the maximum buffer size per socket connection, but is there a system wide limit to the amount of space the buffers can take up and does this apply equally to the ...
7
votes
2answers
4k views

Create Unix Named Socket from the Command Line

Is there a command similar to mkfifo but for domain sockets?
0
votes
1answer
141 views

mysql socket issues

Whenever I try and run mysql I get the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) I did some research and it looks to ...
1
vote
2answers
418 views

Performance: mysql socket vs. mysql remote

I'm running a couple of projects which consume a lot of MySQL power (10'000 qps in peaktimes)...now I'm wondering what would be the best setup in order to keep it fast and smooth even if the user ...
0
votes
3answers
222 views

Socket and Swap Space

I have a system that is running out of memory and has a lot of open connections. but my swap space is not being used up that much. Can socket/socket file descriptors use swap space? This is for a ...
0
votes
1answer
539 views

How diagnose why Java app fails to open a socket (after running successfully for a while)

I'm trying to diagnose why a Java-based app runs for a while as a client making SOAP webservice calls, and then starts hitting an exception whereby it cannot open a socket. The OS is Windows 2003 ...
3
votes
1answer
349 views

Determine if TCP socket is in kernel-space

I have no problem finding out if a socket belongs to user space - I simply scan /proc/ to see which PID owns the [socket]. But with TCP sockets open in the kernel space there is no entry in /proc/ ...
7
votes
3answers
7k views

How do I configure Nginx proxy_pass Node.js HTTP server via UNIX socket?

I am trying to configure a Nginx server to connect to a Node.js HTTP server via a UNIX domain socket. The Nginx configuration file: server { listen 80; location / { proxy_pass ...
0
votes
3answers
340 views

How to connect with MySQL server if it won't connect via the socket?

I have an account on a shared server. I have jailshell access and also PhpMyAdmin. I want to run mysql commands via SSH but I'm getting an error: $ mysql -u mySqlUser -p mySqlPw Can't connect to ...
4
votes
2answers
1k views

Why can't I attach a screen session

I've got a screen session running which I would like to :quit, but I can't because when I try to re-attach, I get an error saying it can't open my terminal. I'm sure I could kill the daemon or ...
4
votes
3answers
252 views

How to get sockets which are listening on a specific port in linux?

An application may be binding multiple sockets to a specific port,how can I get those sockets command line?
0
votes
1answer
480 views

Postfix socket responses problem

I am writing a program in Flex/Actionscript and using an Apple OSX server running Postfix. If a mail canot be sent, it is stored in a database to be sent at a later date. My problem is that if I ...
4
votes
2answers
1k views

Postgres application tries to use incorrect socket file

I have a local postgres server running (on ubuntu linux). It is listening via a socket file: $ ls -la /var/run/postgresql/ total 8 drwxrwsrwx 2 postgres postgres 100 2011-04-15 19:06 . drwxr-xr-x ...
3
votes
2answers
4k views

nginx not able to connect to php-fpm socket

I setup a system similar to the tutorial here: http://vladgh.com/blog/varnish-nginx-and-php-533-ubuntu-1010 I'm having issues with nginx connecting to the php5-fpm socket, but from what I can tell ...
0
votes
1answer
156 views

MySQL Server Connection Socket Error

i just compiled MySQL 5.1 on SunOS 5.11 (i think xD) and now i have some problems. I am able to start the server via ./bin/mysqld_safe & and i can run the mysql* tool in /bin via Putty, however ...
15
votes
4answers
13k views

How to find other end of unix socket connection?

I have a process (dbus-daemon) which has many open connection over UNIX sockets. One of these connections is fd #36: =$ ps uw -p 23284 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME ...
6
votes
3answers
7k views

How to automatically restart a service on failure in Linux

On Windows, you can set what should happen if/when a service fails. Is there a standard way of achieving the same thing on Linux (CentOS in particular)? A bigger part of my question is: how do you ...
0
votes
3answers
72 views

Xeon sockets and interoperability (upgrading)

So it looks like for the most part Xeon motheboard sockets are fairly standardized. If I order a new server with a Xeon proc would I be able to expect to upgrade to any processor in the Xeon family ...
17
votes
2answers
6k views

Unix socket vs TCP/IP host:port

Could someone please describe to me the pros and cons of using a Unix socket file vs a tcp/ip localhost:port when setting up services on a server (Ubuntu, FWIW)? In this particular instance it's for ...
7
votes
3answers
22k views

How to get a linux network log?

We have a java server running in linux at a specific port that accepts persistent connections for thousands and thousands of users. Recently our clients are not able to connect with a time out error. ...
0
votes
2answers
594 views

mysql error 2002 “cannot connect to socket”

I am having trouble with the server I'm running my trac on. I accidentally had the nightly back up going to the internal hard drive instead of the external. So it filled up, I erased the new files, ...
5
votes
4answers
6k views

Max number of socket on Linux

It seems that the server is limited at ~32720 sockets... I have tried every known variable change to raise up this limit. But the server stay limited at 32720 opened socket, even if there is still 4Go ...
1
vote
2answers
2k views

TCP performance differences between RH Linux and Solaris in java?

While comparing java TCP socket performance between RH Linux and Solaris, one of my test is done by using a java client sending strings and reading the replies from a java echo server. I measure the ...
5
votes
2answers
2k views

Does Mac OS X throttle the RATE of socket creation?

This may seem programming related, but this is an OS question. I'm writing a small high performance daemon that takes thousands of connections per second. It's working fine on Linux (specifically ...
0
votes
2answers
482 views

Is there a Windows app out there that can pipe command line arguments into a TCP socket connection?

I haven't needed anything like this before but I'm sure something exists. I'm looking for a compiled Windows executable (i.e. noninterpreted language) that I don't need to write that can read the ...
15
votes
3answers
8k views

What's the difference between Unix socket and TCP/IP socket?

It's from this answer: http://stackoverflow.com/questions/2482411/is-this-pdo-bug-fixed-now/2482424#2482424
0
votes
1answer
302 views

Unable to connect to Socket Server running on VPS!

I Could need some help here... I'm running a java socket server on a 64bit Linux VPS and listening on a port 5555 however my clients aren't able to connect to that port. When I run a netstat -anp on ...
2
votes
3answers
3k views

CUPS printing via socket very slow

I don't find anything suitable on this topic: we have a Solaris server, running CSW CUPS and several network printers. Printing using LPD is fast, but when we try socket or SMB, it is painfully slow ...
3
votes
3answers
5k views

How do you determine what type of CPU socket a linux computer has?

What Linux command/program can I use to tell me what type of CPU socket a Linux desktop has? I use CPUZ or SIW on windows, and I can use "cat /proc/cpuinfo" on Linux to get the rest of the ...
1
vote
2answers
188 views

Can no longer open files in linux server!

We have a linux server running fine in prod for weeks, until our user base started to grow and our java server started to fail in many places! It turns out that all files and sockets are failing ...