The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
44 views

TCP vs UDP Error-Checking

I've bounced upon two articles that describe in-depth on how TCP and UDP connections work. However there is some kind of inconsistency. Where one article tells me that UDP does no Error-Checking at ...
0
votes
2answers
42 views

socket timeout exception on ubuntu

We have solr router and shards. This appears in the jetty log of the router when doing faceted search across all the shards. org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: ...
0
votes
0answers
30 views

Socket buffer and purpose of SO_RCVBUF [closed]

I'm trying to figure out what the SO_RCVBUF actually does. Referring to the Linux kernel, it seems that the value specified with this option is just assigned to a variable (sk_buff.rcvbuf), which ...
0
votes
0answers
8 views

Beginner problems on pipe, fork and if statement [migrated]

I am learning about socket programming and I am well-know to c-programming. Based on my c-programming knowledge, once the process inside else statement is processed. The process inside if statement ...
-2
votes
0answers
46 views

MAMP - phpMyAdmin #2002 - Can't connect to local MySQL server through socket '/Applications/MAMP/tmp/mysql/mysql.sock' [closed]

I was working on MAMP phpMyAdmin and everything worked well until i query an ALTER TABLE statement from SQL tab. Operation was too long to end so i decided to refresh my page. Since, i cannot reach ...
1
vote
1answer
204 views

Apache in linux-vserver won't start, can't create socket

During extensive research and testing to write a proper question worthy of stackexchange I found a solution: rebuild the libapr1 package inside the guest.I thought I'd nevertheless post this ...
1
vote
1answer
131 views

Linux server resend SYN ACK

I am troubleshooting a connection timeout problem between two Linux boxes, where it seems the ACK to SYN-ACK was lost on the server's stack. The tcpdump is done on the server side. The client got ...
0
votes
1answer
42 views

Configuring Postfix to use milter (archiveSMTP)

How does one config Postfix to use the milter "archiveSMTP" ? The milter config instructions (http://www.dancingfortune.com/projects/archivesmtp/download.php) mention only one socket for ...
-1
votes
2answers
331 views

Python - socket.error: [Errno 98] Address already in use [closed]

I'm currently attempting to setup a SiriServer (that's beside the point) on Xubuntu 12.10 x64, when I run the server python returns error socket.error: [Errno 98] Address already in use. The ...
0
votes
0answers
37 views

Sudden increase in read buffer memory usage

I saw sudden increase in the socket's read buffer memory usage for all the existing connection. ESTAB 2 0 10.10.1.26:43333 10.10.2.203:5337 mem:(r12182,w0,f1914,t0) Similarly, I ...
0
votes
0answers
37 views

TCP Socket Memory sudden increase

I saw a sudden increase in TCP Socket Memory which can be seen under /proc/net/sockstat. Can someone explain me what might be the reason for this increase. I didn't find any increase in the number of ...
0
votes
1answer
30 views

Online vendors for a Java application as TCP listener [closed]

Which available hosting services can i use to host a Java service application (TcpListener), which uses TCP/IP layer only (not web)? I want to make it available for TcpClient across the internet. Now ...
0
votes
0answers
104 views

502 Error Nginx+Django(via FastCGI and a unix socket)

I keep getting a 502 - Bad Gateway Error whenever I try to access a Django page. What is the best way to resolve this? I have it working using the loopback method(127.0.0.1 as host on port 8080) ...
0
votes
1answer
62 views

Bind socket to port 25 in EC2

I am trying to bind a service that I built to port 25. It is a rudimentary SMTP server in PHP. The problem that I am having is that if I try to bind to that port ... the code binds to some other ...
1
vote
1answer
69 views

When to use a MySQL socket and when to use a host:port?

Many applications allow me to connect to Mysql using a username, password host and port. Some allow me to configure a socket instead of the host:port. Is there any clear benefit of one over the ...
1
vote
3answers
357 views

ERROR 2002 MYSQL socket /tmp/mysql.sock

A have already read everything about this error but I coundn't solve the problem. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38) I'm trying to install ...
-1
votes
1answer
231 views

Difference between sending data via UDP in Bash and with a Python script [closed]

I'm on a Centos box, trying to send a UDP packet to port 8125 on localhost. When I run this Python script: import socket sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.sendto('blah', ...
2
votes
1answer
38 views

What is the most efficient way to connect my application on one VM to my Postgres DB on another VM?

I have 1 physical machine with 2 VMs (VMWare esxi) - one for database (PostgreSQL 9.2.1), and one for application. I'd like my application to connect to my database in an efficient way, and I've heard ...
1
vote
1answer
182 views

Maximum limit of filepointer in php reached and not changeable

I have a server with the current 5.3.x version installed. Since we are running a really simple and small server in php using sockets, that connects to a lot clients using sockets we need to raise the ...
0
votes
1answer
80 views

ipv6 port 445 does not accept the request from a global type address

I want to scan port 445 on my Windows server 2003, but my scanner only has one type ipv6 address which is global not link-local. When I do this, I find that I can't find port 445 open. But I use the ...
-1
votes
1answer
158 views

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

The IP address on my server recently was changed, and after the change, i performed a restart and when it came back online MySQL stopped working. I am running Debian 6. I type mysql -u username -p ...
0
votes
1answer
99 views

Monitor uSWGI via Nagios: invalid socket

I'm trying to monitor uSWGI via Nagios, but according to uWSGI I have specified an invalid socket. The socket path I got from the JSON config file which also says chmod-socket: 666 so I have a hunch ...
0
votes
1answer
124 views

Error when starting Windows Service: Connection “actively refused”

I have used .NET to create a service installation package (msi) that, when run, installs a Windows service designed to run an instance of Apache Solr (to aid in searching from a web application). I am ...
0
votes
0answers
104 views

Method to handle bad file descriptor error [closed]

Scenario: Connection is established between client and server.The client side connections are closed and client is destroyed. At the server side some of the connections closed are detected but some ...
0
votes
0answers
72 views

Centos 6.2, Apache 2 and Listen port for socket connection

I'm trying to make a socket connection between a client and my server through a php script. To do this, I opened a port on iptables, and configure a virtual host with apache to redirect all traffic ...
1
vote
0answers
93 views

Suphp connection reset by peer in error logs

In my Linux server's logs I have this record nearly every 5 minutes. I couldn't find the reason for two weeks and I would be very happy if you can recommend me a way to diagnose the problem. It is ...
1
vote
1answer
698 views

Setting up PHP 5.4 with MySQL to use Unix Sockets

I've compiled PHP 5.4.5 from source, and I've installed nginx 1.2.1 and mysql 5.1.63-0ubuntu0.11.04.1 from apt-get on my Ubuntu 11.04 LTS server. I installed nginx using this: add-apt-repository ...
-1
votes
4answers
1k views

Do all LGA 1155 Motherboards work with all LGA 1155 CPUs?

Hardware is an area that I have very little competence in. I've recently been tasked with the creation of a new server for the company I work for. I've priced out a motherboard and CPU for the ...
0
votes
1answer
52 views

Python urllib2 and php port conflict

I have python script that is called by PHP via exec. It uses urllib2 and beautifulsoup. The php-fpm runs on port 8000, i have different ports for different pool and I assume they are ok when php-fpm ...
7
votes
2answers
3k views

Need to increase nginx throughput to an upstream unix socket — linux kernel tuning?

I am running an nginx server that acts as a proxy to an upstream unix socket, like this: upstream app_server { server unix:/tmp/app.sock fail_timeout=0; } server { listen ...
1
vote
2answers
68 views

How do communcations through ports works [closed]

I was studying socket programming and certain questions came to my mind. These are some beginner level doubts Is it mandatory to to use well known port for a particular application. For example if i ...
2
votes
2answers
784 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
65 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
106 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
150 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
79 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
2answers
348 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
159 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 ...
3
votes
2answers
971 views

Create Unix Named Socket from the Command Line

Is there a command similar to mkfifo but for domain sockets?
0
votes
1answer
124 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
230 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
153 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
241 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
234 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/ ...
4
votes
3answers
4k 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
181 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 ...
3
votes
2answers
473 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
221 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
290 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 ...
3
votes
2answers
905 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 ...

1 2