LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-29-2010, 01:50 PM   #1
polypeter
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
Upload to server SOMETIMES stops at app. 64 kb. WHY?


I run a Internet gallery with app. 1300 artists who upload images of art. Most of them can upload images of any size. But a few (mayby 10-20) has the following problem:

Every time they upload a file it stops at app. 64 kb.

I have searched for answers for a very long time. I have found some articles about TCP window scaling, eg:
http://lwn.net/Articles/92727/

I have tried turning windows scaling on and off, but it doesn't change anything.

Has anybody experienced something like this before?

My server is the following:
Red Hat Enterprise Linux Server release 5.2
Kernel 2.6.18-92.el5



Best regards,
Peter.
 
Old 10-30-2010, 11:24 AM   #2
bmarx
Member
 
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
Seems like it is an issue with the users, and not the server. Have these users tried using a different web browser? Have you been able to replicate the issue?
 
Old 10-30-2010, 02:33 PM   #3
polypeter
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bmarx View Post
Seems like it is an issue with the users, and not the server. Have these users tried using a different web browser? Have you been able to replicate the issue?
The users who have the problem can upload files of any size to other web pages (facebook, gmail, etc), but not mine. And it does not help if they try different browser.

One of the users who had the problem have Windows Vista. He could upload large files to other web pages, but not mine. One day he did a Windows update, and the problem disappeared. So for me it looks like the problem is a interplay between my server and the clints OS. But it seems like other web pages does not have this problem, so it should be possible to solve it by changing something on the server.
 
Old 10-31-2010, 01:42 PM   #4
polypeter
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Extra info

I have tried to install two different webservers on my Linux server, and the problem exist on both. So I suppose it must be the OS which causes the problem.

The problem only exist for Windows Vista and Windows 7 users. But not all Windows Vista and Windows 7 users. Only some of them. One person told me, the she had the problem with Windows 7, but when she installed Window XP on the same machine the problem disappeared.

For me it sounds very much like this TCP window scaling problem:
http://lwn.net/Articles/92727/

But it did not solve my problem when I changed the tcp_window_scaling setting.
 
Old 11-01-2010, 01:48 AM   #5
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

i agree with others, that this will be a client issue.

One of the most common problems i detected with this behaviour is a wrong MTU on the client network/router. Check that clients firewall does not block all ICMP traffic.

ICMP transfers fragmentation information to the client (need fragment bit), if this is not received by the client problems like yours can occur, because the clients sends packets which are to large for the transfering network.
 
Old 11-03-2010, 03:10 PM   #6
polypeter
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by mesiol View Post
Hi,

i agree with others, that this will be a client issue.

One of the most common problems i detected with this behaviour is a wrong MTU on the client network/router. Check that clients firewall does not block all ICMP traffic.

ICMP transfers fragmentation information to the client (need fragment bit), if this is not received by the client problems like yours can occur, because the clients sends packets which are to large for the transfering network.

Hi

You are completely right!
I investigated the server firewall, and the ICMP was blocked. I changed it so the ICMP is permitted, and now every upload problem to my webpage/server has disappeared.

Thank you very much
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to upload data into the ftp server siddhant_2010 Linux - Server 2 04-01-2010 11:38 PM
Faster Upload to server? TomJon Linux - General 8 07-17-2006 09:07 PM
how to allow users to upload to web server ? nephish Linux - Networking 5 12-08-2005 06:05 AM
cant upload to my server night Linux - Newbie 9 05-01-2004 03:40 PM
Linux app-server to server StarOffice to Windows Clients: Need advice biosx Linux - Networking 3 08-14-2002 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration