<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">crash log: Negative length at
/usr/share/perl5/Danga/Socket.pm line 1133.<br>
<br>
Socket.pm states (line 1127-1142):<br>
&nbsp;&nbsp;&nbsp; # if this is too high, perl quits(!!).&nbsp; reports on mailing lists<br>
&nbsp;&nbsp;&nbsp; # don't seem to point to a universal answer.&nbsp; 5MB worked for some,<br>
&nbsp;&nbsp;&nbsp; # crashed for others.&nbsp; 1MB works for more people.&nbsp; let's go with 1MB<br>
&nbsp;&nbsp;&nbsp; # for now.&nbsp; :/<br>
&nbsp;&nbsp;&nbsp; my $req_bytes = $bytes &gt; 1048576 ? 1048576 : $bytes;<br>
<br>
&nbsp;&nbsp;&nbsp; my $res = sysread($sock, $buf, $req_bytes, 0);<br>
&nbsp;&nbsp;&nbsp; DebugLevel &gt;= 2 &amp;&amp; $self-&gt;debugmsg("sysread = %d; \$!
= %d", $res, $!);<br>
<br>
&nbsp;&nbsp;&nbsp; if (! $res &amp;&amp; $! != EWOULDBLOCK) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # catches 0=conn closed or undef=error<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DebugLevel &gt;= 2 &amp;&amp; $self-&gt;debugmsg("Fd \#%d read
hit the end of the road.", $self-&gt;{fd});<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return undef;<br>
&nbsp;&nbsp;&nbsp; }<br>
<br>
&nbsp;&nbsp;&nbsp; return \$buf;<br>
<br>
</font></font>dormando schreef:
<blockquote cite="mid:46EF5C28.7080201@rydia.net" type="cite">Can you
get the crashlog from mogstored?
  <br>
  <br>
Run it in the foreground or watch syslog/etc.
  <br>
  <br>
-Dormando
  <br>
  <br>
Jaco wrote:
  <br>
  <blockquote type="cite">Hi,
    <br>
    <br>
MogileFS is running fine now, but there are still some major problems
when I try to upload files bigger than 1 GB. With such large files I
get errors like "Send failure: Connection reset by peer" and
"select/poll returned error" and the mogstored daemon is suddenly
killed. Is this normal?
    <br>
    <br>
If it is normal, is there a way to automatically split large files into
smaller chunks during upload using mogilefsd? I know this can be done
with mogtool, but I'm looking for a more transparent method within
mogilefsd.
    <br>
    <br>
Thanks in advance.
    <br>
  </blockquote>
  <br>
</blockquote>
</body>
</html>