---
title: tooManyOpenFiles
framework: system
role: symbol
role_heading: Type Property
path: system/errno/toomanyopenfiles
---

# tooManyOpenFiles

This process has too many open files.

## Declaration

```swift
static var tooManyOpenFiles: Errno { get }
```

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion To check the current limit, call the getdtablesize function. The corresponding C error is EMFILE.

## See Also

### File System Errors

- [badFileTypeOrFormat](system/errno/badfiletypeorformat.md)
- [directoryNotEmpty](system/errno/directorynotempty.md)
- [diskQuotaExceeded](system/errno/diskquotaexceeded.md)
- [noSpace](system/errno/nospace.md)
- [readOnlyFileSystem](system/errno/readonlyfilesystem.md)
- [tooManyLinks](system/errno/toomanylinks.md)
- [tooManyOpenFilesInSystem](system/errno/toomanyopenfilesinsystem.md)
