Displaying 20 results from an estimated 20000 matches similar to: "trouble accessing file of unknown size"
2006 May 29
3
File.size() on Uploaded Images Fail
I am checking the file size of an uploaded file and storing it in a filesize
column. It will work just fine when the user uploads any files other than
images (jpg,png,gif).
Word, Excel, Powerpoint, .zip and more all work fine.
This is my model asset.rb that handles the file upload.
def newfile=(newfile_field)
self.filename = base_part_of(newfile_field.original_filename)
self.filetype
2009 Apr 28
1
Samba configuration options when using with FUSE file system
It seems that metadata operations involved in writing new files into the
same directory become increasingly expensive as the number of files
grows larger. Determining whether a file exists in a directory (in our
case this will never be true since we are always writing new files)
seems like it should be a simple operation, but in fact seems to involve
a huge number of
2012 Oct 14
1
Trouble with Apache2 ProxyPass
This problem probably has a simple solution, so I''m hoping the experienced
shorewall users can help me.
I''ve got a 3-interface (net,dmz, & loc) firewall and have several apache2
virtual web sites in the dmz. They come into 1 apache server in the dmz, and
are redirected with the directive "ProxyPass" and "ProxyPassReverse" in my
Apache
2003 Mar 11
2
2GB File size limit on ext3?
I'm using RedHat 7.2 with kernel 2.4.18-26.7.xsmp and root mount using
ext3.
And I have simple test.pl script:
#!/usr/local/bin/perl
open FILE, ">testfile";
while(1){
print FILE "Test.\n" or die $!;
}
It's died when the file size is 2147483647
and give error message: "File size limit exceeded"
and I run "cat testfile testfile >>
2013 Jun 10
0
opus Digest, Vol 53, Issue 2
Hi All,
Regarding cycle measurements for ARM/NEON,
ARM no longer provide cycle accurate simulators. The method we use is to to
make measurements on hardware via the PMU unit on the core itself. Note that
if your running under Linux you may be 'allowed' to access the PMU directly
but can access via it system calls. Typically you will need to make a series
of measurements and average them.
2006 Jun 26
2
Flac File Size
Hi,
I have a big flac file, i can divide this flac file into chunks by visual basic code, i can add header to these chunks by copying first 1K to other chunks, but chunks can not play properly, i think i need to change filesize from file headers of these chunks, i can read samplerate and samples count from header, but i do not know how can i calculate file size without reading all file, what
2016 Feb 06
2
Xapian::WritableDatabase: commit changes depending on the buffer size
Hi. I have a lot of documents with different filesize. While indexing, i call commit() every 1000 documents (this is the default value, user can change it). The problem is the following: the indexing process runs smoothly while indexing small files. The indexer uses about half of the available RAM. But one moment it hits a bunch of bigger documents. As a result, the RAM usage increases
2003 Jan 22
0
brian.casey@mscsoftware.com
Everyone could setup an auto-responder to send replies to his E-mail
address that contains instructions on how to properly setup his mail
filters to skip the auto reply to this and any other mailing lists he is
associated with.
Perhaps when his company sees the incredible slow-down on their mail
server and investigates the issue. They could unplug his machine from
their network,
2000 Aug 31
1
Red Hat configuration troubles
Greetings
I'm running Red Hat 6.2. Both smbd and nmbd are up
and running. I can see my Linux box from PCs in my
LAN. Problem is, I can't access them.
I tried the troubleshooting guide found at
http://us2.samba.org/samba/docs/DIAGNOSIS.html,
and got as far as the second step. When I do
"smbclient -L myserver," I get the following error
message:
session request to ODYSSEUS
2016 Oct 02
0
Re: mount: unknown filesystem type 'exfat'
On Sun, Oct 02, 2016 at 08:07:35AM -1000, Miles Wolbe wrote:
> > On Oct 2, 2016, at 02:27, Richard W.M. Jones <rjones@redhat.com> wrote:
> >
> > guestfish or libguestfs don't support filesystems. It's whatever
> > is supported by the kernel.
> >
> > exFAT is apparently not supported by the Linux kernel, but there is a
> > FUSE driver for
2002 Jun 03
1
Problem with pam_winbind
I'm on a redhat 7.2 box, and I am trying to configure PAM to use winbind
to authenticate against an NT4 PDC. I followed the instructions I
found at:
http://de.samba.org/samba/ftp/docs/htmldocs/Samba-HOWTO-Collection.html#WINBIND
I compiled the 2.2.4 source and have tried several permutations of the
setup they suggest, and have tried many solutions I've seen suggested on
different
2017 Aug 02
0
Re: Understanding the contents of virsh dump --memory-only
On Tue, Aug 01, 2017 at 10:22:43PM -0400, Arnabjyoti Kalita wrote:
>Hello,
>
>I was trying to understand the ELF file generated by the virsh dump
>(--memory-only) command. I have successfully generated a dump of the VM
>memory using this command.
>
You are running a QEMU machine and the dump is generated by qemu, so
they would be able to explain to much further detail, I'm
2017 Aug 02
2
Understanding the contents of virsh dump --memory-only
Hello,
I was trying to understand the ELF file generated by the virsh dump
(--memory-only) command. I have successfully generated a dump of the VM
memory using this command.
I specifically am trying to understand the loadable segments of this ELF
file.
I ran readelf -a <filename> to get the information that I need. Below shows
the details of the loadable segments in a much better format
2016 Oct 02
2
Re: mount: unknown filesystem type 'exfat'
> On Oct 2, 2016, at 02:27, Richard W.M. Jones <rjones@redhat.com> wrote:
>
> guestfish or libguestfs don't support filesystems. It's whatever
> is supported by the kernel.
>
> exFAT is apparently not supported by the Linux kernel, but there is a
> FUSE driver for it called exfat-fuse (as you found out).
>
> So if you add exfat-fuse and maybe
2006 Jul 04
0
Uploading files - getting size
Hi,
I want to get the size of an uploaded file that is saved in the
database. Can you help me?
In the edit view formular there is:
<input id="attachment_title" name="attachment[title]" size="30"
type="text" /> <input id="attachment_attachment"
name="attachment[attachment]" size="30" type="file" />
2006 Feb 09
0
filesize problem...
dear list,
following problem with large files:
server:
samba 3.0.21b
debian linux kernel 2.4.32
filesystem ext3
client:
windows xp sp2
- i layed a tarball to the directory with a size of 35GB (also tested
with a smaller filesize of 7.2 GB)
- the filesystem shows the correct filesize.
- looking via samba share, there's a filesize of 2.91GB???
- trying to copy a file bigger then 2.91 GB i
2004 Jan 30
3
looping over factors
How does one loop over factors? Perhaps this is a newbie question.
I tried:
> b
[1] caseX caseY caseZ
Levels: caseX caseY caseZ
> length(b)
[1] 3
>
> for (i in b) {
+ print (b == i) ;
+ print (i);
+ }
[1] FALSE FALSE FALSE
[1] 1
[1] FALSE FALSE FALSE
[1] 2
[1] FALSE FALSE FALSE
[1] 3
>
But that strangely doesn't work. I must protest
the implications of the above. i , as
2016 Oct 02
0
Re: mount: unknown filesystem type 'exfat'
On Sat, Oct 01, 2016 at 08:56:16PM -1000, Miles Wolbe wrote:
> Hello,
>
> Can anyone please tell me whether guestfish can mount exFAT partitions?
>
> I created a full disk image of a drive which contained a single exFAT partition.
guestfish or libguestfs don't support filesystems. It's whatever
is supported by the kernel.
exFAT is apparently not supported by the Linux
2007 Nov 21
9
Trouble with DNAT After Upgrade
I''ve upgraded a 3-interface system from 2.0.8 to 3.2.6 on Debian, and I''m not
able to make DNAT work anymore. If someone could offer a suggestion of where
to look to fix this, it would be very much appreciated.
Problem Summary:
If I set DETECT_DNAT_IPADDRS=Yes, then I can''t access anything on my DMZ via
DNAT.
If I set DETECT_DNAT_IPADDRS=No, then **EVERYTHING**
2007 Nov 21
9
Trouble with DNAT After Upgrade
I''ve upgraded a 3-interface system from 2.0.8 to 3.2.6 on Debian, and I''m not
able to make DNAT work anymore. If someone could offer a suggestion of where
to look to fix this, it would be very much appreciated.
Problem Summary:
If I set DETECT_DNAT_IPADDRS=Yes, then I can''t access anything on my DMZ via
DNAT.
If I set DETECT_DNAT_IPADDRS=No, then **EVERYTHING**