Decrease the size of data, typically to preserve space or reduce network bandwidth required while transmitting files. It can be applied to files, folders, disks, etc.
Questions tagged [compression]
418 questions
0
votes
1 answer
how to uncompress memcached content via nginx?
I'm using memcached to store html content ready for nginx to display but I'm getting the compressed output in the browser.
It works if I turn off compression in PHP but doubles the response time which is the key part here so ideally I'd like to keep…

glambert
- 1
- 1
0
votes
1 answer
how to tar or zip two sibling folders and avoid an extra top level folder when extracting
I have a need to create a tar of two sibling folders and send it to a client for extraction on their Mac OS desktop by double-clicking it. yes, that's a requirement of theirs.
so I go:
cd ~/Desktop
tar -cvf ~/Desktop/files.tar folder1…

EarlGrey
- 103
- 2
0
votes
1 answer
Why is IIS 7.5 seeing some requests as HTTP/1.0?
While trying to work out why Static File Compression wasn't working on one of our IIS servers, the error was coming back as "NO_COMPRESSION_10" which translates to:
Server not configured to compress 1.0 requests
Looking at the requests in Fiddler,…

Zhaph - Ben Duguid
- 364
- 5
- 12
0
votes
1 answer
strange linux zip command behaviour
I run this on my CentOs box:
zip -r backup.zip /home/user/domains/example.com/public_html/
The command works ok as it should, but I have an annoying problem.
What I expect is when I open the zip to have one folder in it: public_html
Instead i have…

user146526
- 85
- 1
- 5
0
votes
2 answers
Content not being compressed even though I'm using zlib in php.ini
I've edited my php.ini file so that it has these two entries:
zlib.output_compression = On
zlib.output_compression_level = 4
However, after restarting apache, when I request php pages, the headers returned in the response indicate that my server is…

Tola Odejayi
- 334
- 1
- 4
- 19
0
votes
2 answers
How do I fix a broken tar file?
I have a 46GB tar file containing an .img of an old partition. Unfortunately, it produces a 0-byte file when un-tar'ed.
The tar file was produced on linux, I'm on windows now. I have tried WinRAR, and tar (from unixutils).
Note: It was actually…

Blorgbeard
- 191
- 4
- 7
0
votes
1 answer
how to decompress a local drive?
I have local drive in my system. The file system in my drive is NTFS. Some days ago I compressed my drive by disk cleanup for releasing free space.
But when I want to attached my sql database with server then it gives error that show like this but…

Ghost Answer
- 129
- 2
- 14
0
votes
2 answers
Does MySQL have an option for compressing data in its cache?
This morning I was introduced to the concept of compressing a database cache to allow a bigger cache in a given amount of RAM. I understand Microsoft SQL 2008 offers this functionality.
I was wondering if there is similar functionality available…

Brent
- 22,857
- 19
- 70
- 102
0
votes
1 answer
How can I compress large log files on Windows 2008 Server?
Some of our log files are > 4GB, and the build-in windows zip will not compress them.
I need to get them off the box, and really don't want to download them uncompressed. I can't install any additional software on the box since it's a production…

chris
- 3,993
- 6
- 28
- 37
0
votes
3 answers
How to use zipsplit (or equivalent) on very large files?
According to the man pages, zipsplit does not work on files larger than 2GB.
Is there an equivalent or alternative that would allow me to break up, say, 4GB of files into 500MB chunks in a way that a typical Windows user could access easily? ( I…

anschauung
- 113
- 1
- 6
0
votes
1 answer
How to avoid IIS from overwriting some HTTP Headers?
I have enabled in my Web.config the GZIP compression, and I'm glad that it automatically adds the HTTP header "Vary: Accept-Encoding".
The problem is that IIS is overwriting the "Vary:*" that ASP.NET returns by default.
The issue is that in POST…

NullOrEmpty
- 389
- 2
- 5
- 16
0
votes
1 answer
IIS7 compression failing with "COMPRESSION_DISABLED" despite having the option enabled
I have been unable to get GZIP compression working on my IIS7.5 server. I have tried all the suggestions online, including here at ServerFault and no matter what, the trace always comes back stating "COMPRESSION_DISABLED", but I don't know why it's…

Chris Thompson
- 537
- 1
- 13
- 22
0
votes
2 answers
Installing p7zip on CentOS 5
I need some help here..., I'm working on a windows PC, SSHed into my server. I want to install p7zip (linux command line version of 7zip): http://sourceforge.net/projects/p7zip/files/p7zip/9.20.1/
Which package do I grab there? I have no need to…

Shackrock
- 208
- 6
- 16
0
votes
1 answer
Different options on btrfs subvolumes
I'm using kernel 3.0 and was wondering if btrfs supports / is planning to support different options on different subvolumes.
For example I'd like to turn compression on for /usr, /lib, ..., but not for the faster changing directories like /home and…

viraptor
- 1,296
- 6
- 21
- 41
0
votes
3 answers
zip does not work for big files
What is the best way to compress a file if it is more than 4 GB in size?
I am using the following for last several months.
mysqldump --all-databases | zip > mybackup.zip
Today I am got an error:
zip error: Entry too big to split, read, or write…

shantanuo
- 3,579
- 8
- 49
- 66