| Troubleshooting |
332
Node API Transfers of Many Small Files Fails
Ascp transfers that are started through the Node API or Watch Folders to or from servers that have Unix-like OS can
fail when transferring many (millions) of small files because the Redis database exceeds available number of file
descriptors.
To increase the maximum number of file descriptors from the default of 1024 to a larger value, such as 1,000,000, run
the following command:
$ ulimit -Sn 10000000
Logs Overwritten Before Transfer Completes
The logs of long transfers of many (millions) of files can be overwritten before the session completes, potentially
deleting useful troubleshooting information if an error or failure occurs. To avoid this problem, set the log size to a
larger value than the default of 10 MB. For information on other logging configuration options, see
Configuration for Ascp and Ascp 4
on page 78.
Logging settings are configured by running
asconfigurator
commands (recommended) or by manually editing
aspera.conf
.
To increase log size by using asconfigurator:
Run the following command:
# asconfigurator -x "set_logging_data;log_size,
size_mb
"
To increase log size by manually editing
aspera.conf
:
1.
Open
aspera.conf
in a text editor run with administrator privileges.
/opt/aspera/etc/aspera.conf
2.
Add the
<logging>
section to the
<default>
section:
...
<default>
<file_system>...</file_system>
<logging>
<log_size>
size
</log_size>
</logging>
</default>
...
Where
size
is the log size in MB.
3.
Save your changes.
4.
Validate the XML form of
aspera.conf
:
# /opt/aspera/bin/asuserdata -v
Disabling SELinux
SELinux (Security-Enhanced Linux), an access-control implementation, can prevent web UI access.
To disable SELinux:
1.
Open the SELinux configuration file:
/etc/selinux/config
.