Quoting Daniel Molina (dmol...@opennebula.org):
On 28 November 2013 18:15, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
On 27 November 2013 21:27, Stefan Kooman ste...@bit.nl wrote:
We didn't change anything, just:
On 29 November 2013 09:27, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
On 28 November 2013 18:15, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
On 27 November 2013 21:27, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
Include it before the if:
logger.error(rackinput.class)
if (rackinput.class == Tempfile)
I did just that, restarted apache and tried again. I can't spot the
value in the logs, can you? Passenger errors are logged in apache error log
On 29 November 2013 09:57, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
Include it before the if:
logger.error(rackinput.class)
if (rackinput.class == Tempfile)
I did just that, restarted apache and tried again. I can't spot the
value in
Quoting Daniel Molina (dmol...@opennebula.org):
On 29 November 2013 09:57, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
Include it before the if:
logger.error(rackinput.class)
if (rackinput.class == Tempfile)
I did just that,
On 29 November 2013 10:13, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
On 29 November 2013 09:57, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
Include it before the if:
Quoting Daniel Molina (dmol...@opennebula.org):
Could you try changing this line:
elsif (rackinput.class == StringIO || rackinput.class ==
PhusionPassenger::Utils::RewindableInput)
to
elsif rackinput.respond_to?('read')
This doesn't produce any passenger errors. Image gets uploaded but
On 29 November 2013 10:54, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
Could you try changing this line:
elsif (rackinput.class == StringIO || rackinput.class ==
PhusionPassenger::Utils::RewindableInput)
to
elsif rackinput.respond_to?('read')
Quoting Daniel Molina (dmol...@opennebula.org):
This is handled by passenger, it should be removed by the GC sooner or
later
Ah, I See. One file is cleaned up already. Proably I'm just impatient
:).
If I close apache passenger it cleans up after itself ... nice.
I just did test with
On 29 November 2013 11:18, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
This is handled by passenger, it should be removed by the GC sooner or
later
Ah, I See. One file is cleaned up already. Proably I'm just impatient
:).
If I close apache
On 27 November 2013 21:27, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
Could you try exporting the $TMPDIR var before starting the passenger
processes?
This is the code that generates the temp file (sunstone-server.rb):
tmpfile =
Quoting Daniel Molina (dmol...@opennebula.org):
On 27 November 2013 21:27, Stefan Kooman ste...@bit.nl wrote:
We didn't change anything, just:
https://github.com/OpenNebula/one/commit/f8e2e65b0170268e9c72d52c4fe9f0e13fa05acd
So, it should work as before.
Passenger 4.0.26 is giving me
On 28 November 2013 18:15, Stefan Kooman ste...@bit.nl wrote:
Quoting Daniel Molina (dmol...@opennebula.org):
On 27 November 2013 21:27, Stefan Kooman ste...@bit.nl wrote:
We didn't change anything, just:
Quoting Daniel Molina (dmol...@opennebula.org):
Could you try exporting the $TMPDIR var before starting the passenger
processes?
This is the code that generates the temp file (sunstone-server.rb):
tmpfile = Tempfile.open('sunstone-upload')
by default, it uses Dir.tmpdir as
Quoting Stefan Kooman (ste...@bit.nl):
I've tried this and that works, i.e. the image gets uploaded and stored
in /mnt/sunstone_upload directory. However, something goes wrong copying
the file to the datastore. The file is empty (0 bytes). Here some logging:
Answering myself here. This turns
On 15 November 2013 15:30, Stefan Kooman ste...@bit.nl wrote:
Quoting Stefan Kooman (ste...@bit.nl):
I've tried this and that works, i.e. the image gets uploaded and stored
in /mnt/sunstone_upload directory. However, something goes wrong copying
the file to the datastore. The file is
Quoting Daniel Molina (dmol...@opennebula.org):
Hi Stefan,
Could you try exporting the $TMPDIR var before starting the passenger
processes?
This is the code that generates the temp file (sunstone-server.rb):
tmpfile = Tempfile.open('sunstone-upload')
by default, it uses
17 matches
Mail list logo