[ZendTo] {Disarmed} RE: Re: {Disarmed} RE: Re: ZendTo 3.70 released

Duncan, Brian M. brian.duncan at kattenlaw.com
Wed Feb 23 17:16:34 GMT 2011


The VM I am currently troubleshooting is based on your CentOS VM that is
up on the zendto site.
 
I looked and the PHP.INI did not contain the apc.max_file_size = 50G, so
I added it.
 
I restarted Apache and right when you click drop off files on a 950 meg
file I get in the error log:
 
[Wed Feb 23 11:12:23 2011] [error] [client 10.9.3.4] PHP Warning:  POST
Content-Length of 973173368 bytes exceeds the limit of 889192448 bytes
in Unknown on line 0, referer: http://10.9.3.5/verify.php

BTW,
 
This is my apc.ini in /etc/php.d (untouched from how it was in the VM I
downloaded)
 
apc.enabled=1
apc.shm_segments=1
apc.optimization=0
apc.shm_size=32M
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.enable_cli=1
apc.cache_by_default=1
apc.rfc1867=on
apc.max_file_size=50G


BRIAN M. DUNCAN
Data Security Administrator
Katten Muchin Rosenman LLP
525 W. Monroe Street / Chicago, IL 60661-3693
p / (312) 577-8045 f / (312) 577-4490
brian.duncan at kattenlaw.com / www.kattenlaw.com
  

 

________________________________

From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf
Of Jules
Sent: Wednesday, February 23, 2011 11:07 AM
To: ZendTo Users
Subject: [ZendTo] Re: {Disarmed} RE: Re: ZendTo 3.70 released




On 23/02/2011 16:57, Duncan, Brian M. wrote: 

	 
	I can't believe I missed this till now after days of messing
with this :)
	 
	This is the error in the errlog when uploads fail:
	 
	[Wed Feb 23 10:47:02 2011] [error] [client 10.9.3.4] PHP
Warning:  POST Content-Length of 973173384 bytes exceeds the limit of
889192448 bytes in Unknown on line 0, referer: MailScanner has detected
a possible fraud attempt from "10.9.3.5" claiming to be
http://10.9.3.5/verify.php <http://10.9.3.5/verify.php> 
	
	Can you tell me how we work around this? 
	

It's a limit in your /etc/php.ini or /etc/php5/apache2/php.ini
upload_max_filesize = 



	 
	I am wondering if fixing that will also allow the status bar to
work with large uploads.

I'll be interested to hear.


	 
	Thanks
	 
	Brian
	 

	BRIAN M. DUNCAN
	Data Security Administrator
	Katten Muchin Rosenman LLP
	525 W. Monroe Street / Chicago, IL 60661-3693
	p / (312) 577-8045 f / (312) 577-4490
	brian.duncan at kattenlaw.com / www.kattenlaw.com
	  

	 

________________________________

	From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On
Behalf Of Duncan, Brian M.
	Sent: Wednesday, February 23, 2011 10:43 AM
	To: ZendTo Users
	Subject: [ZendTo] Re: ZendTo 3.70 released
	
	
	This still happens without using the progress bar though.  (That
uploads greater then 850 megabytes zendto does not accept)  Happens in
your CentOS and Ubuntu builds of 3.70 and 3.65 I have now verified it
happens in.
	 
	Does that still mean it is due to the APC module?
	 
	I need to try to figure some work around.
	 
	I don't need the progress bar, but I need uploads to work up to
2 gig.
	 
	Thanks
	 
	Brian
	 
	 

	BRIAN M. DUNCAN
	Data Security Administrator
	Katten Muchin Rosenman LLP
	525 W. Monroe Street / Chicago, IL 60661-3693
	p / (312) 577-8045 f / (312) 577-4490
	brian.duncan at kattenlaw.com / www.kattenlaw.com
	  

	 

________________________________

	From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On
Behalf Of Jules
	Sent: Wednesday, February 23, 2011 10:35 AM
	To: ZendTo Users
	Subject: [ZendTo] Re: ZendTo 3.70 released
	
	
	It sits at 100 if it never gets any size information from the
APC module at all.
	So yes, if it sits at 100 it will probably fail as the APC
module has got screwed up. Not a whole lot I can do about that really,
sorry.
	If you have any suggestions though, I'm all ears! :-)
	
	Jules.
	
	On 23/02/2011 15:16, Duncan, Brian M. wrote: 

		I decided to see if your Ubuntu build has the same
issues.
		 
		It does have the same issues.  
		 
		I downloaded 
http://www.zend.to/files/ZendTo-Ubuntu-x86-3.70-2.zip and set it up with
bare minimum to test a large upload.
		 
		980 meg upload had the same issues, no status bar
updates and the upload failes to be accepted by zendto.
		 
		850 meg uploads and below in size work fine and the
drop-off is accepted and you get the dropoff summary.
		 
		Jules I don't know what is going on here but the
progress bar helps determine if zendto is not going to accept the
upload.  I have found it to be consistent that if the progress bar
displays 100 the entire upload when the upload finishes then zendto will
not display the dropoff summary.
		 
		Is there anything else specifically that I can do to
help narrow down what is causing this?  I was going to try next
downloading the 3.65-1 VM which still has the older PHP in it if I
recall correctly and verify that.
		 
		Thanks,
		 
		Brian
		 
		 

		BRIAN M. DUNCAN
		Data Security Administrator
		Katten Muchin Rosenman LLP
		525 W. Monroe Street / Chicago, IL 60661-3693
		p / (312) 577-8045 f / (312) 577-4490
		brian.duncan at kattenlaw.com / www.kattenlaw.com
		  

		 

________________________________

		From: zendto-bounces at zend.to [
mailto:zendto-bounces at zend.to] On Behalf Of Duncan, Brian M.
		Sent: Tuesday, February 22, 2011 12:40 PM
		To: ZendTo Users
		Subject: [ZendTo] Re: ZendTo 3.70 released
		
		
		OK I had some time to download the CentOS VM 3.70-2
image. http://www.zend.to/files/ZendTo-CentOS-x86-3.70-2.zip
		 
		I just did minimum configuration after setting it up in
VMware workstation so I could access it locally through a web browser to
drop off a large file. (980 meg file again)
		 
		I installed iptraf on the VM and during the upload it
averaged around 3700 Kilobytes per second transferring to the Zendto VM.
(Around 6 minutes on the upload)
		 
		It still failed to display the drop-off summary. It
resets back to the adding the recipient #1 and the file you want to drop
off.  Progress bar was stuck at 100 the whole time, I know you know of
the progress bar bug, just listing because it is staying constant at
least for me.
		 
		So it would seem with at least the CentOS distribution
(I have never tried Ubuntu) that at somewhere around 850 megs uploads do
not finish successfully. (Not progress bar on or off dependent either)
		 
		I have not tried Ubuntu since we have to use Red Hat
based distributions.  So if the issue is related to PHP and CentOS I am
unable to rule that out at this point.
		 
		Thanks
		 
		Brian
		 
		 

		BRIAN M. DUNCAN
		Data Security Administrator
		Katten Muchin Rosenman LLP
		525 W. Monroe Street / Chicago, IL 60661-3693
		p / (312) 577-8045 f / (312) 577-4490
		brian.duncan at kattenlaw.com / www.kattenlaw.com
		  

		 

________________________________

		From: zendto-bounces at zend.to [
mailto:zendto-bounces at zend.to] On Behalf Of Jules
		Sent: Tuesday, February 22, 2011 8:59 AM
		To: ZendTo Users
		Subject: [ZendTo] Re: ZendTo 3.70 released
		
		


		On 22/02/2011 14:43, Duncan, Brian M. wrote: 

			Well I took a chance and renamed my zendto
(3.7x) directory and put back in place 3.62 and still found that the 980
meg upload still does not work.

		Good. From my point of view, anyway, as it means I
haven't broken anything that wasn't already broken.
		

			 
			So I moved back to the 3.7x.
			 
			Any idea where I can start to troubleshoot why
uploads that large do not finish with Zendto?

		Try different browsers, try a different build of PHP 5.2
(if you're on CentOS, there is more than one) and make sure you have
rebuilt the libphp5.so file correctly, and that it matches the version
of all the other php5 packages you have installed.
		

			 
			I was going to try and download a current VMWARE
image today and set that up locally on VMware workstation and verify
that but I do not know if I will have enough time.

		Make sure you follow my instructions on the website and
in the README that is in the zip file you will download.
		
		Jules.
		

			 

			BRIAN M. DUNCAN
			Data Security Administrator
			Katten Muchin Rosenman LLP
			525 W. Monroe Street / Chicago, IL 60661-3693
			p / (312) 577-8045 f / (312) 577-4490
			brian.duncan at kattenlaw.com / www.kattenlaw.com
			  

			 

________________________________

			From: zendto-bounces at zend.to [
mailto:zendto-bounces at zend.to] On Behalf Of Duncan, Brian M.
			Sent: Tuesday, February 22, 2011 8:21 AM
			To: ZendTo Users
			Subject: [ZendTo] Re: ZendTo 3.70 released
			
			
			Thanks Jules,
			 
			After putting in place the new_dropoff.tpl from
the new version I now have the animated gif working and uploading is
back to working. 
			 
			Problem is that it still does not accept an
upload that is 980 megabytes.  When it finishes sending it it just
resets the dropoff page to ask for the recipient 1 info and the file you
want to drop-off.
			 
			The 980 megabyte upload took 20 minutes at
around 850 Kilobytes per second.  It is not a timing parameter issue
somewhere because I can upload a file externally that is like 400 meg
that takes an hour to send and it works.
			 
			It does not go to the drop-off summary page.
			 
			All uploads below 850 megabytes are working fine
still.
			 
			I still have my zendto directory from before I
started all the progress bar updates.  Even with the extensions to MySQL
that I ran with the 3.70 upgrade can I go back?  I want to verify if I
am having an issue with large uploads on the version I was running for
the last couple months.  I think that is 3.62.  I am hoping if I put
3.62 back in place, it won't care about the extensions to the DB.
			 
			Thanks
			 
			Brian
			 
			 

			BRIAN M. DUNCAN
			Data Security Administrator
			Katten Muchin Rosenman LLP
			525 W. Monroe Street / Chicago, IL 60661-3693
			p / (312) 577-8045 f / (312) 577-4490
			brian.duncan at kattenlaw.com / www.kattenlaw.com
			  

			 

________________________________

			From: zendto-bounces at zend.to [
mailto:zendto-bounces at zend.to] On Behalf Of Jules
			Sent: Tuesday, February 22, 2011 5:13 AM
			To: ZendTo Users
			Subject: [ZendTo] Re: ZendTo 3.70 released
			
			
			Have just uploaded 3.70-2 to the website for
you. It contains the fixed new_dropoff.tpl file.
			
			Jules.
			
			On 21/02/2011 21:12, Duncan, Brian M. wrote: 

				Thanks
				

				I updated to the new version.  Not
having great results, and turning the progress bars off results in worse
results.

				With progress bars turned on
'useRealProgressBar'   => TRUE, uploads work fine up to around 850
megabytes still.

				With progress bars turned on, this is
what a 950 meg upload displays after like 30% of the file is being
uploaded:  And when the upload does finish zendto acts like a file was
never sent the progress bar
				goes away and you are back at the point
that you can select the file you want to drop off. (The drop off summary
page that normally comes up at the end of an upload, does not come up)
				 
				 
				 
				 

				When I turn the progress bar off in the
preferences('useRealProgressBar'   => FALSE,) I get an error on the page
when I try to drop a file off (it does not upload) and it just stays at
the animated gif for ever.

				 
				 

				In firefox, I just get the animated GIF
for ever after I click Drop-off the File(s). (there is no error
displayed anywhere on the browser window)  It does not upload.

				I used the TGZ and overwrote all the
files and then manually updated the configs again from scratch. 
http://www.zend.to/files/ZendTo-3.70-1.tgz

				Any idea on the animated GIF not working
now?  I am assuming the current progress bar is not an option since
anything larger then 850 megs does not work on an upload.  Can anyone
else confirm they can't get an upload to work when using the progress
bar?

				Thanks

				 

				
				
				
				BRIAN M. DUNCAN
				Data Security Administrator
				Katten Muchin Rosenman LLP
				525 W. Monroe Street / Chicago, IL
60661-3693
				p / (312) 577-8045 f / (312) 577-4490
				brian.duncan at kattenlaw.com / 
www.kattenlaw.com
				 
				-----Original Message-----
				From: zendto-bounces at zend.to [
mailto:zendto-bounces at zend.to] On Behalf Of Jules
				Sent: Monday, February 21, 2011 9:32 AM
				To: ZendTo Users
				Subject: [ZendTo] Re: ZendTo 3.70
released
				
				
				
				On 21/02/2011 15:23, Duncan, Brian M.
wrote:
				> So with 3.70 is the progress bars any
different from previous versions?
				I've changed the timings which might
well affect its performance.
				> Did you add the feature to turn them
on and off?
				Yes.
				> I was just wondering because I have to
troubleshoot the issue we are
				> having with people not being able to
upload files larger then 850
				> megabytes today, and was thinking I
would start out by updating to the
				> current version.
				That wouldn't be a bad idea. Then you
can just abandon the progress bars for now if you want to.
				
				And if you're using Ubuntu, you can use
my shiny new .deb package! :-)
				
				Cheers,
				Jules.
				> -----Original Message-----
				> From: zendto-bounces at zend.to [
mailto:zendto-bounces at zend.to] On Behalf
				> Of Jules
				> Sent: Monday, February 21, 2011 5:04
AM
				> To: ZendTo Users
				> Subject: [ZendTo] ZendTo 3.70 released
				>
				> I have just put out a testing release,
3.70. It includes the progress
				> bars, with a few updates from the
weekend.
				>
				> It also includes the new "Send a
Request" feature so you can easily
				> ask people to send you files using
ZendTo without them having to jump
				> through hoops to do it. Perfect for
your customer service operations!
				>
				> Note that this feature requires a new
database table, so if you're
				> upgrading with SQLite see
/opt/zendto/sbin/UPGRADE. If you're
				> upgrading with MySQL see
/opt/zendto/sql.
				>
				> Jules
				>
				> --
				> Julian Field MEng CITP CEng
				> www.Zend.To
				>
				> Follow me at twitter.com/JulesFM
				> PGP footprint: EE81 D763 3DB0 0BFD
E1DC 7222 11F6 5947 1415 B654
				>
				> 'All programs have a desire to be
useful' - Tron, 1982
				>
				>
_______________________________________________
				> ZendTo mailing list
				> ZendTo at zend.to
				> 
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
				>
				>
===========================================================
				> CIRCULAR 230 DISCLOSURE: Pursuant to
Regulations Governing Practice
				> Before the Internal Revenue Service,
any tax advice contained herein
				> is not intended or written to be used
and cannot be used by a taxpayer for the purpose of avoiding tax
penalties that may be imposed on the taxpayer.
				>
===========================================================
				> CONFIDENTIALITY NOTICE:
				> This electronic mail message and any
attached files contain
				> information intended for the exclusive
use of the individual or entity
				> to whom it is addressed and may
contain information that is
				> proprietary, privileged, confidential
and/or exempt from disclosure
				> under applicable law.  If you are not
the intended recipient, you are
				> hereby notified that any viewing,
copying, disclosure or distribution
				> of this information may be subject to
legal restriction or sanction.  Please notify the sender, by electronic
mail or telephone, of any unintended recipients and delete the original
message without making any copies.
				>
===========================================================
				> NOTIFICATION:  Katten Muchin Rosenman
LLP is an Illinois limited
				> liability partnership that has elected
to be governed by the Illinois Uniform Partnership Act (1997).
				>
===========================================================
				>
				>
_______________________________________________
				> ZendTo mailing list
				> ZendTo at zend.to
				> 
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
				
				Jules
				
				--
				Julian Field MEng CITP CEng
				www.Zend.To
				
				Follow me at twitter.com/JulesFM
				PGP footprint: EE81 D763 3DB0 0BFD E1DC
7222 11F6 5947 1415 B654
				
				'All programs have a desire to be
useful' - Tron, 1982
				
	
_______________________________________________
				ZendTo mailing list
				ZendTo at zend.to
				
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
				

===========================================================
CIRCULAR 230 DISCLOSURE: Pursuant to Regulations Governing Practice
Before the Internal Revenue
Service, any tax advice contained herein is not intended or written to
be used and cannot be used
by a taxpayer for the purpose of avoiding tax penalties that may be
imposed on the taxpayer.
===========================================================
CONFIDENTIALITY NOTICE:
This electronic mail message and any attached files contain information
intended for the exclusive
use of the individual or entity to whom it is addressed and may contain
information that is
proprietary, privileged, confidential and/or exempt from disclosure
under applicable law.  If you
are not the intended recipient, you are hereby notified that any
viewing, copying, disclosure or 
distribution of this information may be subject to legal restriction or
sanction.  Please notify
the sender, by electronic mail or telephone, of any unintended
recipients and delete the original 
message without making any copies.
===========================================================
NOTIFICATION:  Katten Muchin Rosenman LLP is an Illinois limited
liability partnership that has
elected to be governed by the Illinois Uniform Partnership Act (1997).
===========================================================
				
	
_______________________________________________
				ZendTo mailing list
				ZendTo at zend.to
				
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto


			Jules
			
			-- 
			Julian Field MEng CITP CEng
			www.Zend.To
			
			Follow me at twitter.com/JulesFM
			PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222
11F6 5947 1415 B654
			
			'All programs have a desire to be useful' -
Tron, 1982
			
			_______________________________________________
			ZendTo mailing list
			ZendTo at zend.to
			
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto


		Jules
		
		-- 
		Julian Field MEng CITP CEng
		www.Zend.To
		
		Follow me at twitter.com/JulesFM
		PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947
1415 B654
		
		'All programs have a desire to be useful' - Tron, 1982
		
		_______________________________________________
		ZendTo mailing list
		ZendTo at zend.to
		http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto


	Jules
	
	-- 
	Julian Field MEng CITP CEng
	www.Zend.To
	
	Follow me at twitter.com/JulesFM
	PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
	
	'All programs have a desire to be useful' - Tron, 1982
	
	_______________________________________________
	ZendTo mailing list
	ZendTo at zend.to
	http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto


Jules

-- 
Julian Field MEng CITP CEng
www.Zend.To

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'All programs have a desire to be useful' - Tron, 1982
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110223/c36fe9e2/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 48327 bytes
Desc: ATT90057.jpg
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110223/c36fe9e2/attachment-0003.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 17702 bytes
Desc: ATT90058.jpg
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110223/c36fe9e2/attachment-0004.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 34998 bytes
Desc: ATT90059.jpg
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110223/c36fe9e2/attachment-0005.jpe 


More information about the ZendTo mailing list