Skip to content

sftp server: handle_stat: cannot stat #2203

@clubh

Description

@clubh

The multipass log file (/Library/Logs/Multipass/multipassd.log) is suddenly exploding with gigabytes of entries like:

It appears like PHP is looping through include_paths and all failures to stat a file via sftp are logged.

Any idea how to suppress or disable this logging ?

Logs
[2021-08-18T13:53:46.493] [error] [sftp server] handle_stat: cannot stat '/Users/clu/www/phplib/file.class.php': no such file
[2021-08-18T13:53:46.493] [error] [sftp server] handle_stat: cannot stat '/Users/clu/www/project/file.class.php': no such file

Additional info

  • macOS
  • multipass 1.7.0+mac

Name: localsrv
State: Running
IPv4: 192.168.64.7
Release: Ubuntu 16.04.7 LTS
Image hash: ef5bafec76cc (Ubuntu 16.04 LTS)
Load: 0.21 0.11 0.09
Disk usage: 7.9G out of 9.6G
Memory usage: 300.1M out of 2.0G
Mounts: /Users/clu/www => /www
UID map: 501:default
GID map: 20:default

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issuehelp wantedmediumMedium priority. Combine with "low" or "high" to signal intermediate priority.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions