Questions tagged [files]

Organized data encoded in a pre-defined format and stored on a filesystem.

In the computational sense, one-dimensional array of bytes stored in a filesystem, typically encoded a pre-defined format, often indicated by a file-extension or "magic number". More "durable" than in-memory storage.

677 questions
0
votes
0 answers

Too many php session files created on one server

We have a web application running multiple instances on different plesk servers. On one server we see quick generation of php session files under /var/lib/php/session directory. Which grows in 100 thousands in short period of time and clean-up of…
RayF
  • 1
  • 2
0
votes
1 answer

Grep a textfile with (find generated) files, but ignore paths

I receive a huge textfile generated with find. The contents of the generated textfile are a file-referenes with full path,…
0
votes
0 answers

MySQL slow file I/O

I got a little issue with MySQL having slow file IO. When benchmarking 1k blocks (I did them on purpose that small for worst-case) I get an hdd speed of about 2MB/s. When looking at iotop while there's a PHP script with many sql queries running it…
Sorunome
  • 111
  • 1
0
votes
2 answers

Why my netcat connection doesn't send the file correctly?

I wrote this script to send a file using netcat. My intention is to open the netcat port in the destination server from the origin, this way I do everything with just one script instead of having one on the dest and one on the…
Nocturn
  • 133
  • 1
  • 10
0
votes
0 answers

inconsistent behavior of files created by an archive / ssh / tar command

Working on a deploy script, I ran into issues that I cannot explain. We have a production server (Ubuntu server 10.04), a repository (Gitlab), and a development server (Ubuntu 14.04). I work on the development server, and from there run the deploy…
0
votes
1 answer

Copy files limited to 50GB or so?

Several times I have tried to copy a vhd file from one HDD to another one colocated in the same physical box and connected to the same motherboard. GUI drag and drop, Powershell, copy and paste - all of these methods stop copying after about 50GB of…
Mipo
  • 1
  • 2
0
votes
1 answer

Managing uploaded files on a server

I have a server hosting an intranet web site where one of the features will be the ability to upload files. The files will be saved in a restricted access folder and managed through the web back-end. To avoid name collisions, I plan on assigning…
Big_Al_Tx
  • 101
  • 2
0
votes
1 answer

After restoration of .stm file i unable to open emails.

We use Exchange server 2007 as a mail server where mailboxes don`t synced to Outlook. We had some problems with a .stm file and we restored it. After that we unable to open any emails located in these shared mailboxes. I have tried to restore .stm…
Wawane
  • 3
  • 1
0
votes
2 answers

copying a file 2 connections away?

I dislike calling scp twice. I need to connect to box1 via ssh the again to boxNAME. How do i copy a file from boxNAME to my local drive? also how do i copy a file from my local drive back to boxNAME? alternatively if i can grab a file (either one)…
user274
0
votes
3 answers

Users are accumulating files everywhere and being wasteful/disorganised, what's the best strategy and supporting tools to help clean it up?

One strategy being considered is: Advise users of the official locations that important working documents should be kept and that files kept in all other locations may be removed at will each month move any files (docx, xlsx etc) not accessed…
campbeld
  • 13
  • 4
0
votes
1 answer

How do I encrypt large (20Gb+) compressed files from a backup?

I want to encrypt regularly created and compressed backup files from OpenVZ containers, before they leave the server and get copied to the providers backup space via ftp. They vary in size, from 6 to 50 GB (after being compressed, lzo) UPDATE ...…
initall
  • 2,325
  • 3
  • 18
  • 19
0
votes
1 answer

File copy problems in only 1 direction through IPSec inter-site VPN

i've a rather strange problem with 2 sites linked by an IPSec inter-site VPN and file transfert from a site to another. SYNOPSYS (tl;dr) : File transfert via smb/ftp/whatever through ipsec tunnel between both sites works in a direction and not in…
iryngael
  • 11
  • 3
0
votes
1 answer

Bash shell copy files on the hidden directory

Need help with Unix script. how do you use /bin/cp to copy files from /somepath/somedir/somewhere/.temp_folder to /somepath/somedir/somewhere/ my line /bin/cp -r somepath/somedir/somewhere/.[!.]* somepath/somedir/somewhere/ the directory…
evilspowa
  • 3
  • 2
0
votes
1 answer

How to find what process for a particular user is accessing files on a share

Our business management system has had some hiccups here and there the past couple of weeks. It has been denied access to some of the files it uses. By digging around with Manage Open Files I have been able to determine which user(s) are accessing…
Dave
  • 43
  • 1
  • 5
0
votes
1 answer

How to find out which process created a particular file?

I know that you can use lsof (in Linux at least) to check which process has got a particular file opened currently, but is there anyway to find out which process created a particular file originally? Or even which process wrote/modified a particular…
xkcd
  • 444
  • 3
  • 7
  • 16