Jump to content

Problem posting large topics?

- - - - -

  • Please log in to reply
13 replies to this topic

#1
Skippy

Skippy

    Programmer

  • Members
  • PipPipPipPip
  • 146 posts
Is anyone else having trouble posting large topics/ replies?

go ahead an try it, copy about 100 lines of text from a website and try clicking "preview post"

For me it just goes to a blank page, it won't actually show the post. and if i try to post it does the same thing, and no response is created.

I'm just wondering if anyone else is having the same problem.... this is a new problem, because everything was working fine yesterday.

I've tried clearing my browser, trying a different browser, logging out and back in, restarting the computer... nothing works.

Edited by Skippy, 17 January 2011 - 05:56 PM.


#2
Roger

Roger

    If nothing goes right, go left.

  • Administrators
  • 718 posts
  • Programming Language:C, PHP
  • Learning:Python
The new server had a smaller MySQL limit. I increased it. Can you try again and let me know?
Check out our update Guidelines/FAQ. When posting code, remember to use code tags - Posted Image.

#3
Skippy

Skippy

    Programmer

  • Members
  • PipPipPipPip
  • 146 posts
Nope try bumping it up to like 1000 and lets see.

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,120 posts
  • Location:Vancouver, Eh! Cleverness: 200
I get a 500 after 0.5Mb POST request to preview
HTTP/1.1 500 Internal Server Error 
Date: Mon, 17 Jan 2011 13:54:49 GMT 
Server: Apache 
X-Powered-By: PHP/5.2.16 
Vary: User-Agent,Accept-Encoding 
Content-Encoding: gzip 
Content-Length: 20 
Connection: close 
Content-Type: text/html
Appears to be memory exhaustion. May be in Apache error logs.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
Skippy

Skippy

    Programmer

  • Members
  • PipPipPipPip
  • 146 posts
0.5Mb would not be a problem.

The post I am trying to make is less than 5Kb.. (less than 5,000 bytes/chars)

I even tried just posting 1,000 bytes of it. I still get an error. It seems anything more than like half a kilobyte directs me to an empty (literally, nothing in the HTML source code) page. So I can only make posts up to 500 letters long(half a Kb)? which turns out to be roughly 100 words or 5-10 lines? that's not enough.

#6
Roger

Roger

    If nothing goes right, go left.

  • Administrators
  • 718 posts
  • Programming Language:C, PHP
  • Learning:Python

Roger said:

The new server had a smaller MySQL limit. I increased it. Can you try again and let me know?

Skippy said:

Nope try bumping it up to like 1000 and lets see.

Alexander said:

I get a 500 after 0.5Mb POST request to preview
HTTP/1.1 500 Internal Server Error 

Date: Mon, 17 Jan 2011 13:54:49 GMT 

Server: Apache 

X-Powered-By: PHP/5.2.16 

Vary: User-Agent,Accept-Encoding 

Content-Encoding: gzip 

Content-Length: 20 

Connection: close 

Content-Type: text/html
Appears to be memory exhaustion. May be in Apache error logs.

Just figured out that this is an issue with mod_security and vBulletin, not a MySQL or memory issue. (This server has 4GB). I think it's fixed now. Can you check?
Check out our update Guidelines/FAQ. When posting code, remember to use code tags - Posted Image.

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
I had an issue with a 3 line post.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
Skippy

Skippy

    Programmer

  • Members
  • PipPipPipPip
  • 146 posts
It worked, thank you :)

Problem solved

#9
Roger

Roger

    If nothing goes right, go left.

  • Administrators
  • 718 posts
  • Programming Language:C, PHP
  • Learning:Python

WingedPanther said:

I had an issue with a 3 line post.

Do you still? Can you let me know where the problem is?
Check out our update Guidelines/FAQ. When posting code, remember to use code tags - Posted Image.

#10
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,120 posts
  • Location:Vancouver, Eh! Cleverness: 200
I would imagine mod_security (which with some rule sets runs regular expressions on EVERY bit of each POST large request) goes well with vBulletin, Apache has signs if it a fatal error at per process memory, or module, I have no access to the logs so it was just a guess.

Either way, a 0.24Mb POST to the preview page successfully runs up until the 30 second execution limit, so at least that problem is saved. I had tested in two contexts. So good job.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#11
Roger

Roger

    If nothing goes right, go left.

  • Administrators
  • 718 posts
  • Programming Language:C, PHP
  • Learning:Python
Yes, mod_security was definitely the culprit, since it broke on the "Live" page as well. The log does show that the PCRE limit was exceeded for those requests. I might've been able to comment out some of the rules, but that would be too much hacking for my liking. So instead, I just disabled mod_security for some key vBulletin pages.
Check out our update Guidelines/FAQ. When posting code, remember to use code tags - Posted Image.

#12
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Roger said:

Do you still? Can you let me know where the problem is?
Unless I stumble across the post I was trying to reply to again, it'll be hard to try to duplicate. I haven't noticed anything in the last couple days.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users